sonic-cpp icon indicating copy to clipboard operation
sonic-cpp copied to clipboard

A fast JSON serializing & deserializing library, accelerated by SIMD.

Results 36 sonic-cpp issues
Sort by recently updated
recently updated
newest added

Hi, Does sonic-cpp support merge-patch easily? For example : { op: replace, patch : "Object/0/New_object", value : "123" } If use json_pointer: sonic_json::Node* node2 = doc.AtPointer(PointerType({"Object", 0, "New_object"})); This doesn't...

good first issue
help wanted

/include/sonic/internal/arch/sse/base.h:73:2: error: #error "PCLMUL instruction set required. Missing option -mpclmul ?" 73 | #error "PCLMUL instruction set required. Missing option -mpclmul ?" ![image](https://github.com/bytedance/sonic-cpp/assets/96470241/a0e8a702-5600-4985-982d-b69ed739fd29) ![image](https://github.com/bytedance/sonic-cpp/assets/96470241/c76c6777-1177-4cfe-a402-8ef743ae2928)

We need to add more examples for Document API into [example directory](https://github.com/bytedance/sonic-cpp/tree/master/example) The example should be like follows: ``` #include #include #include "sonic/sonic.h" int main() { using NodeType = sonic_json::Node;...

good first issue

documentation
good first issue

We need to add a pretty serialize API in dynamic node like https://github.com/bytedance/sonic-cpp/blob/master/include/sonic/dom/genericnode.h#L1000 Exist serialize implement is https://github.com/bytedance/sonic-cpp/blob/master/include/sonic/dom/serialize.h#L33

good first issue

SAX handler is necessary because it consumes less memory and has fast performance. especially based on SIMD skip. Now, sonic-cpp's handler is designed to parse the whole json, and lazysax...

good first issue
proposal

Now, initialization is complex as follows: ``` Document doc; doc.SetObject(); doc.AddMember(key, value); ``` Can we use the c++11 initialization list: ``` Document doc { {"a", "b"}, {"c", false}, {"d", {1,...

good first issue
proposal

I use cmake and my ndk version is 21.4.7075529

good first issue
help wanted

In order to parse JSON numbers with full precision and improve parsing performance, we propose adding a new `RawNumber` type for representing parsed JSON number values. The design of this...

proposal

When will the arm platform be supported