gjson icon indicating copy to clipboard operation
gjson copied to clipboard

Get JSON values quickly - JSON parser for Go

Results 89 gjson issues
Sort by recently updated
recently updated
newest added

Basically my need is to filter-out some values if the keys match a specific rule I can use sjson to set the values but I need a way of listing...

Thank you for gjson! I think it's going to really help me out on my first go project! As you can undoubtedly surmise, I'm rather new to the language, so...

In source code ```go // Exists returns true if value exists. // // if gjson.Get(json, "name.last").Exists(){ // println("value exists") // } func (t Result) Exists() bool { return t.Type !=...

Standard json format do not support binary,octal and hex nubmer. gjson will plan to support them ?

Hello I am looking for way to input multiple path conditions to gjson.Get API. I used https://gjson.dev/ for verifying paths; unfortunately results are not as expected Input Path friends.#[last==Murphy][first==Craig]# Actual...

``` { "name": { "first": "Tom", "last": "Anderson" }, "age": 37, "children": [ "Sara", "Alex", "Jack" ], "fav.movie": "Deer Hunter", "friends": [ { "first": "Dale", "last": "Murphy", "age": 44, "nets":...

Golang does not support `go get -u` anymore for v1.17+

https://github.com/tidwall/gjson/blob/6ee9f877d683381343bc998c137339c7ae908b86/README.md?plain=1#L57 Line 57 in README.md references a non-existent anchor.

Hello @tidwall! Given the playground case, with a little modification: ```json { "name": {"first": "Tom", "last": "Anderson"}, "age":37, "children": ["Sara","Alex","Jack"], "fav.movie": "Deer Hunter", "friends": [ {"first": "Dale", "last": "Murphy", "age":...

Hi, I did check all repo and couldn't find an answer about this. Mu code is like below and i'm using "ForEach" to loop on a json object. I'd like...