bytedance / sonic-cpp

A fast JSON serializing & deserializing library, accelerated by SIMD.
Apache License 2.0
835 stars 101 forks source link

为啥没有GetArray(),GetObject(), 原来rapidjson中的doc.GetArray(), doc.GetObject()怎么替换成sonic? #53

Closed handsomeZWF closed 1 year ago

handsomeZWF commented 1 year ago

content.AddMember("input_args", doc.GetArray(), a);
rapidjson中的doc.GetArray() 怎么替换成sonic? sonic中没有GetArray方法呀!

handsomeZWF commented 1 year ago

直接用AddMember(doc)就可以了

Billy1900 commented 3 months ago

直接用AddMember(doc)就可以了

怎么用的?