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

Method String

include/sonic/dom/schema_handler.h:188–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186 }
187
188 sonic_force_inline bool String(StringView s) {
189 if (cur_node_) {
190 cur_node_->SetString(s, *alloc_);
191 } else {
192 return stringImpl(s);
193 }
194 return true;
195 }
196
197 sonic_force_inline bool StartObject() noexcept {
198 if (cur_node_) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected