MonetDB documentation says, that JSON is supported in MonetDB, but I can`t find any example. When I try to implement this query in MonetDB client:
json.filter({ "store": {
"bicycle": {
"color": "red",
"price": 19.95
}}},'$')
I get this error: syntax error, unexpected IDENT in: "json"
From https://www.monetdb.org/pipermail/users-list/2014-November/007700.html:
In MonetDB, JSON is a column type, so you first need to define a table with a column of type JSON, something like:
CREATE TABLE a (js JSON);
Once you inserted JSON documents into the table, you can do a query like:
SELECT json.filter(js, 'store') FROM a;