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

Method prettify

benchmark/json.h:75–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 }
74
75 std::unique_ptr<SR> prettify() const {
76 std::unique_ptr<SR> sr = std::make_unique<SR>();
77 if (sr && static_cast<const PR *>(this)->prettify_impl(*sr)) return sr;
78 return nullptr;
79 }
80
81 bool stat(DocStat &stat) const {
82 return static_cast<const PR *>(this)->stat_impl(stat);

Callers

nothing calls this directly

Calls 1

prettify_implMethod · 0.45

Tested by

no test coverage detected