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

Function Dump

include/sonic/dom/genericnode.h:1011–1015  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1009 */
1010 template <unsigned serializeFlags = kSerializeDefault>
1011 std::string Dump() const {
1012 WriteBuffer wb;
1013 SonicError err = Serialize<serializeFlags>(wb);
1014 return err == kErrorNone ? wb.ToString() : "";
1015 }
1016
1017 protected:
1018 sonic_force_inline NodeType* next() noexcept {

Callers

nothing calls this directly

Calls 1

ToStringMethod · 0.80

Tested by

no test coverage detected