sonic-cpp
sonic-cpp copied to clipboard
A fast JSON serializing & deserializing library, accelerated by SIMD.
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...
/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 ?"  
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;...
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
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...
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,...
I use cmake and my ndk version is 21.4.7075529
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...
When will the arm platform be supported