jsonparser
jsonparser copied to clipboard
One of the fastest alternative JSON parser for Go that does not require schema

Thanks for the great lib, first of all. The documentation for ArrayEach says: ``` // ArrayEach is used when iterating arrays, accepts a callback function with the same return arguments...
jsonparserv1.1.1 has a critical vulnerability found `CVE-2020-10675` The Library API in buger jsonparser through 2019-12-04 allows attackers to cause a denial of service (infinite loop) via a Delete call.
how can i get length of array attribute, just like the code: `{ "name": "John", "age": 31, "city": "New York", "ls": [ { "name": "John2", "age": "23" }, { "name":...
jsonparser.ObjectEach(style, func(key []byte, typeStr []byte, dataType jsonparser.ValueType, offset int) error { jsonparser.ObjectEach(typeStr, func(key []byte, value []byte, dataType jsonparser.ValueType, offset int) error { fmt.Printf("Key: '%s'\n Value: '%s'\n Type: %s\n", string(key), string(value),...
Hey,jsonparser has not released a new version for more than two years. Is there any plan to release a new version in the future?
Hello, can you tell me the maximum number of byte files that ArrayEach supports? I have a 1GB json file that uses ArrayEach to parse and report an error "offset:...
Hey, I've been trying to use `ArrayEach` to parse an array. The callback you can pass takes an `error` value as its argument and can't return one, meaning that even...
**Description**: add a new function DeleteOnOrig which can do delete operation on original slice. It will really help improve performance by reducing one memory alloc/dealloc and one whole copy per...
I am really impressed by this project but I find the current API less helpful. Hence, proposing a new way to iterate over the array elements or object entries. Example:...