elgs / jsonql

JSON query expression library in Golang.
Other
276 stars 36 forks source link

Compare a bool #6

Closed Eun closed 5 years ago

Eun commented 5 years ago

Saying you have a json payload like this:

[
{
   "Name": "Joe",
   "IsMale": true
},
{
   "Name": "Alice",
   "IsMale": false
}
]

The query IsMale=true gives no results.

Any idea?

elgs commented 5 years ago

I confirm this is a problem. Thanks. I will fix it.

elgs commented 5 years ago

Hopefully the problem has been fixed. Would you please try go get -u https://github.com/elgs/jsonql and let me if it works for you? Thank you!

Eun commented 5 years ago

Yes works thank you