JSON query expression library in Golang.
This library enables query against JSON. Currently supported operators are: (precedences from low to high)
||
&&
= != > < >= <= ~= !~= is isnot contains
+ -
* / %
^
( )
The following are the operator mapings to SQL:
AND&&OR||RLIKE~=NOT RLIKE!~=
Install
go get -u github.com/elgs/jsonql
Example
Query Expressions
For details of query expressions, please read: https://github.com/elgs/gojq