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.
Asked
Active
Viewed 32 times
1 Answers
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
-
I thought so. i was wondering that the Marklogic would have some kind of work around – bdkdavid Oct 09 '20 at 11:49
-
If you need namespaces, there are data formats that do support them, cough, cough, *XML* – Mads Hansen Oct 09 '20 at 13:54