Traversing a Json Node using Javascript in marklogic?
问题 I want to traverse a JSON Node which is like this (i.e./node.json) { "One": { "Name": "One", "Country": "US" }, "Two": { "State": "kentucky" }, "Three": { "Element1": "value1", "Element2": "value2", "Element3": "value3", "Element4": "value4", so on ... } } Updated My Usecase : I tried to run a CORB job with below configurations Transform.xqy (Where I am keeping all the elements in an array) var name = fn.tokenize(URI, ";"); const node = cts.doc(name); var a= node.xpath("/One/*"); var b= node