Questions tagged [jsoniq]

JSONiq is a query and processing language specifically designed for the popular JSON data model.

JSONiq is a query and functional programming language that is designed to declaratively query and transform collections of hierarchical and heterogeneous data in format of JSON, XML, as well as unstructured, textual data.

JSONiq is an open specification published under the Creative Commons Attribution-ShareAlike 3.0 license. It is based on the XQuery language, with which it shares the same core expressions and operations on atomic types. JSONiq comes in two syntactical flavors, which both support JSON and XML natively.

  • The JSONiq syntax (a superset of JSON) extended with XML support through a compatible subset of XQuery.
  • The XQuery syntax (native XML support) extended with JSON support through a compatible subset (the JSONiq extension to XQuery) of the above JSONiq syntax.

Main website: http://www.jsoniq.org

(Source)

36 questions
0
votes
1 answer

JSONiq - how do you convert an array to a sequence?

Using the JSONiq to JavaScript implementation of JSONiq, say I have an array let $a := [1,2,3] I'd like to get the elements as a sequence, but all of these return the array itself - return $a() return $a[] return members($a) What is the correct…
Brian Burns
  • 20,575
  • 8
  • 83
  • 77
0
votes
1 answer

Array and object lookups in JSONiq

I'm currently working on improving JSON querying capabilities with Brackit[1] and [2], which is an XQuery engine with additional arrays and "records". I'm now basically following the same XDM as JSONiq uses, but I'm sadly no XQuery expert. I guess…
Johannes
  • 2,021
  • 2
  • 23
  • 40
0
votes
1 answer

MongoDB Complex Stages Query With different Results

I'm trying to find a Query Language for our product team, so they can create "red-flags" based on complex queries of a collection. as they are not familiar with code, i've tried looking at JsonIQ solution but it seems it's un-maintained and couldn't…
0
votes
1 answer

Export Google App Engine datastore as JSON using Java

I am doing a research project on the JSON JSONIQ using Google App Engine and its Datastore. The Datastore is NoSQL so it is what I need for my JSON to work, but the problem is I am not able to export the datastore as JSON file. Also, I am using Java…
0
votes
2 answers

Large json file transformation via code or not

after trying to work with mongoDB , and finding out that it dosn't work with documents that are larger the 16 mega . i need to find way to load large complex json file ( i guess to memory ) . and to transform it to my need via ( i guess ) Query…
user63898
  • 29,839
  • 85
  • 272
  • 514
-1
votes
2 answers

First Order Logic translation

Use the following definitions to represent English statements as first-order formulas. Define: ● - is a set of companies ● - is a set of investors ● = {(, , ) | (, , ) ∈ × × ∧ ℎ ℎ }- investments ● (, , , ) - investment x describes…
1 2
3