Josh Baker
Josh Baker
I'm not accepting pull requests at this time.
No. I don't have any plans to build features to support the MessagePack format.
Hi @IIInsomnia, thanks for the suggestions. I can see how these functions could be useful and I may consider adding in the future For I'm going to hold out for...
I don't know if this helps but you can order the keys using `@pretty:{"sortKeys":true}` For example: ```go result2 := gjson.Get(json2, "@pretty:{"sortKeys":true}|hits.hits") ``` This will ensure that all keys for the...
The json that you provided the Get statement looks invalid. The Null and False should be null and false.
There's nothing built into gjson that does this using a path. This is probably the most efficient way I can think of. ```go package main import "github.com/tidwall/gjson" func sliceJSONArray(res gjson.Result,...
@Databingo For `sjson.Set("[]", 0, 0 )`, the second param must be a string. https://go.dev/play/p/j3Zv32Op236
I just exposed the `escapeComp` as `Escape`. ```go otherObj.Get(gjson.Escape(key)) ```
No problem and thanks @volans- for finding that function. I forgot it existed.
Sorry, but unfortunately I don't have the available time necessary to dedicate to new features for this project.