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

Method stringfy

benchmark/json.h:69–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 ParseResult &operator=(const ParseResult &) = delete;
68
69 std::unique_ptr<SR> stringfy() const {
70 std::unique_ptr<SR> sr = std::make_unique<SR>();
71 if (sr && static_cast<const PR *>(this)->stringfy_impl(*sr)) return sr;
72 return nullptr;
73 }
74
75 std::unique_ptr<SR> prettify() const {
76 std::unique_ptr<SR> sr = std::make_unique<SR>();

Callers 4

BM_EncodeFunction · 0.80
BM_StatFunction · 0.80
BM_FindFunction · 0.80
BM_DecodeFunction · 0.80

Calls 1

stringfy_implMethod · 0.45

Tested by

no test coverage detected