Josh Baker

Results 411 comments of Josh Baker

Valid json will not give inconsistent results. If you find that they do then please let me know.

> Is there a search of value like gjson? The array access character [is not allowed](https://github.com/tidwall/sjson/blob/master/sjson.go#L59-L63) with sjson. > How i can change name.first of age 35? You can use...

I wrote a program that tried to reproduce the issue, but I wasn't able to see the memory issues that you were seeing. I took your example function and hardcoded...

Perhaps the `SetRaw` function is what you are looking for. ``` r := gjson.Parse(`["a_value","b_value"]`) dest := "[]" dest, _ = sjson.SetRaw(dest, "-1", r.String()) println(dest) ``` ``` [["a_value","b_value"]] ```

Sorry for the slow response. Jq is pretty awesome. If you plan on doing advanced stuff like you show in your example then I recommend sticking with jq. > What...

Oh no. 10x increase in ram for setting a value? 😲 Yikes! What is the path that you're using to update the value?

I agree that this would make for a very good enhancement. Unfortunately my schedule Is pretty backed up and it may take sometime before I can get to this feature,...

Unfortunately, this feature is currently not available.

Hi, what is problem that you are seeing?

I just merged #138 which includes Swift 5.0 support.