Maybe JSON patches are what you're looking 
for. https://github.com/evanphx/json-patch

On Thursday, January 11, 2018 at 2:36:01 PM UTC-8, Doğan Kurt wrote:
>
> I think i wasn't perfectly clear. When i say update i actually meant 
> insert, delete, update. 
>
> I will delete big blocks of elements, insert new ones and modify some. If 
> i have to deal with the json format, what's the point of using json 
> package. I can write a json tokenizer myself.
>
> On Thursday, January 11, 2018 at 10:55:36 PM UTC+1, Tamás Gulácsi wrote:
>>
>> Use json.Decoder.Token to walk through the whole file, modifying where 
>> needed, and just printing otherwise.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to