1

I am trying to grasp the javascript and JSON documents in marklogic. Does the JSON documents support namespaces and how do you implement one: that is add your own content. can some provide a simple example.

bdkdavid
  • 203
  • 3
  • 14

1 Answers1

1

The JSON standard doesn't have namespaces.

Some people argue for ignoring properties that aren't recognized and for wrapping or renaming as needed to avoid naming collisions when composing a JSON document from multiple inputs.

Hoping that helps,

ehennum
  • 7,295
  • 13
  • 9