gabs icon indicating copy to clipboard operation
gabs copied to clipboard

For parsing, creating and editing unknown or dynamic JSON in Go

Results 41 gabs issues
Sort by recently updated
recently updated
newest added

Hi, am new to GO, I want to form a JSON for an item, so using this module I formed the JSON, but the angular brackets were replaced with Unicode...

Hi! I've got two simple questions: 1.- Imagine you have a JSON with some inner childs being another object, and some others inner inner childs being objects, and so on....

Hi, I am trying to find whether the keys of the input json file is a subset of a array of string values. This is my input json file. {...

[ {"foo":"test1"}, {"foo":"test2"} } Suppose i have a JSON structure as above. I tried to get the value as "0.foo" as jsonParsed.Path("0.foo").String() and "1.foo" as as jsonParsed.Path("1.foo").String() It is not...

Fixes issue: https://github.com/Jeffail/gabs/issues/108 Credit to [2manyvcos](https://github.com/2manyvcos) for fix.

Hi, Given the JSON below, you'll notice there are 2 outer object 'etag' and 'Items' and a number of inner objects. My goal is to get rid of the outer...

- plateform ``` mac os ``` - code ``` func main() { b,_ := ioutil.ReadFile("./test_cluster.conf") jsoner,_ := gabs.ParseJSON(b) key :="cluster/test/demo" tmpMap := map[string]string{"aaa":"bbb"} keys_args := strings.Split(key,"/") jsoner.Set(tmpMap,keys_args...) // if add...

This PR supersedes #95 by supporting wildcard deletes at all levels in a `Container`'s hierarchy. `searchStrict` has been refactored and renamed into `searchPaths` to provide return parameters that are both...

This PR makes wildcard searches significantly faster by reducing heap allocations where possible. `searchStrict` logic has been encapsulated in a function that returns `interface{}` instead of `*Container` as the first...

My question is how can i make fail the merge , i need a merge error for my uni test, but sending correct json objects mergeError:=initialBody.Merge(binInfo) if mergeError!=nil { logger.Info("[BinInfoMiddlewareError]...