MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / writeValue

Method writeValue

opt_utils/src/json.cpp:871–881  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

869 result += fi->GetNewline() + fi->GetIndentation(level) + "]";
870 }
871 void Writer::writeValue(const Value &node)
872 {
873 if (node.IsString())
874 {
875 result += "\""+Value::EscapeString(node.ToString())+"\"";
876 }
877 else
878 {
879 result += node.ToString();
880 }
881 }
882
883
884 Parser::Parser() : jsonSize(0), cursor(0), root(NULL)

Callers

nothing calls this directly

Calls 2

IsStringMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected