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

Method prettify_impl

benchmark/yyjson.hpp:50–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 bool prettify_impl(YYjsonStringResult &sr) const {
51 size_t out_size = 0;
52 sr.s = yyjson_write(doc, YYJSON_WRITE_PRETTY, &out_size);
53 return out_size != 0;
54 }
55
56 bool stat_impl(DocStat &stat) const {
57 GetStats(yyjson_doc_get_root(doc), stat);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected