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

Hello I am looking for way to input multiple path conditions to gjson. or(||)path condition Input Path friends.#(last=="Murphy" || first=="Dale")# Can you please explain how to provide multiple matching conditions?...

Given the following object: ```json { "friends": { "dale": { "nets": ["ig", "fb", "tw"] }, "jane": { "nets": ["fb", "qq"] }, "murphy": { "nets": ["xq", "tw"] } } } ```...

I am consuming an API that returns two types of JSON **Type one response** ``` { "APIResponse": { "APIResult": { "items": { "item": { "name": "Ram", "Address": "Pune" } }...

I understand that this modifier can be easily done by anyone, but suppose that it migth be needed not only by me and it would be clearer to use from...

I'll preface by saying it's a hunch and I have no convincing argument other than my intuition and I'm not familiar with the internals of gjson. For large JSON's GetMany...

I was *incredibly* surprised to see that there was no `gjson.Boolean` type to check `gjson.Type` against. Instead, there's a `True` "type" and a `False` "type", which to me seem to...

This issue happens when we perform a validation task: https://github.com/coinbase/rosetta-cli/issues/267. Briefly, it seems when we pass a json object whose value is a string with numbers, e.g {"a":a6ed68a1cc964b430e1e40254347367f08e4eb5eeaf0852d5648022873b50c07}, to gjson.Get(),...

The installation instructions work perfectly on a local development linux machine. However, when running a full linux VM in AWS (Suse Enterprise) on which Go is properly installed and tested....

Thanks for your fast JSON parser. ``` func GetMany(json string, path ...string) []Result { res := make([]Result, len(path)) for i, path := range path { res[i] = Get(json, path) }...

I have a string ``x.x.x``, if escape , I need to change it to ``x\.x\.x``. I think it can escape all character like this ``$x.x.x$`` sjson can also support this...