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

Function StringView GetRaw

include/sonic/dom/genericnode.h:341–344  ·  view source on GitHub ↗

* @brief Get the raw json of this node, won't copy it. * @return StringView that represents the raw json. */

Source from the content-addressed store, hash-verified

339 * @return StringView that represents the raw json.
340 */
341 sonic_force_inline StringView GetRaw() const noexcept {
342 sonic_assert(IsRaw());
343 return StringView(raw.p, Size());
344 }
345
346 /**
347 * @brief Get 5-bits type info

Callers

nothing calls this directly

Calls 1

SizeFunction · 0.85

Tested by

no test coverage detected