KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
Json-Query-Language
★ 10
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
FestivalKit
:
Small C# eventing library familiar to Bukkit developers
richie
:
DraftJs Editor Implementation
paywalled
:
Bypass paywalled web sites
promised-reducer
:
Fold promise queue and detect sync or async
vault
:
Trailbot tracks files and logs in your servers and triggers Smart Policies upon unwanted modification.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
Json-Query-Language
?
Download (.md)
# Canopy JQL (JSON Query Language) ## JQL - Json Query Language JQL is a json query language. A single query looks like: ```json { "field": "model.fieldname", "operator": "lt", "value": "value" } ``` ### Operators * `lt` = `<`, * `gt` = `>`, * `lte` = `<=`, * `gte` = `>=`, * `eq` = `=`, * `ne` = `!=`, * `beginswith` * `endswith` * `contains` * `in` ### Example: ```json { "jql": [ { "field": "mammals.A", "operator": "in", "value": ["A", "B", "C"] }, { "field": "mammals.B", "operator": "eq", "value": "false" }, { "OR": [ { "field": "birds.C", "operator": "eq", "value": "true" }, { "field": "mammals.D", "operator": "eq", "value": "true" }, { "field": "mammals.E", "operator": "eq", "value": "true" }, { "OR": [ { "field": "dogs.F", "operator": "eq", "value": "true" }, { "field": "dogs.G", "operator": "eq", "value": "true" }, [ { "field": "cats.H", "operator": "eq", "value": "true" }, { "field": "cats.I", "operator": "eq", "value": "true" } ] ] } ] }, { "field": "dogs.J", "operator": "eq", "value": "true" } ] } ``` ## Requirements - PHP >=5.5 ## Contributing Contributions to the JQL package are welcome. Please note the following guidelines before submiting your pull request. - Follow [PSR-2](http://www.php-fig.org/psr/psr-2/) coding standards. - Write tests for new functions and added features ## License Canopy/JQL is licensed under the [MIT License](http://opensource.org/licenses/MIT).