jsonparser
jsonparser copied to clipboard
One of the fastest alternative JSON parser for Go that does not require schema
I am working on a project where we are required to build dynamic json objects from a map of dotted json paths and their values. We should be able to...
the "root" json maybe as { ... } maybe as [ .... ] how get the "root" json type?
https://github.com/buger/jsonparser/blob/bf1c66bbce23153d89b23f8960071a680dbef54b/parser.go#L943-L957 how to indicate that **cb** return an error for ArrayEach, like ObjectEach do. https://github.com/buger/jsonparser/blob/bf1c66bbce23153d89b23f8960071a680dbef54b/parser.go#L1053-L1060
this issue is more similar to https://github.com/buger/jsonparser/issues/143. but here we are using master revision `bf1c66bbce23153d89b23f8960071a680dbef54b` pls let me know the root cause and if any pls help to fix it....
Hi, If we delete a name & add it back, the JSON is corrupted. Its Partially formed and values at the end of the JSON are truncated. **Code:** ``` package...
Hello, Can you benchmark your package agains [fastjson](https://github.com/valyala/fastjson) and [gjson](https://github.com/tidwall/gjson)? Thanks.
Hello, I am trying to pass in jsonparser as a parameter to a function res, err := HelloWorld(jsonparser), but can only do something like this: res, err := HelloWorld(jsonparser.Get) Is...
I'm not sure of the name, but just wrote implementation of ArrayEach with ability to stop processing array when required value found. To keep the backward compatibility I create new...
**Description**: Changes the callback function signature of `ArrayEach` to return an error. It currently takes an error as input even though `ArrayEach` never passes a non-nil error into it. It...
**Description**: What this PR does Added ability to terminate ArrayEach() from within its callback, by setting error to some value. Previous implementation didn't make much sense, since error was always...