MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / stringfy_impl

Method stringfy_impl

benchmark/sonic.hpp:45–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 }
44
45 bool stringfy_impl(SonicStringResult<NodeType> &sr) const {
46 auto err = doc.Serialize(sr.wb);
47 if (err) return false;
48
49 return true;
50 }
51
52 bool prettify_impl(SonicStringResult<NodeType> &sr) const {
53 (void)sr;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected