MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / StartArray

Method StartArray

modules/engine/runtime/serde/json/writer.cpp:93–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 return _WriteEndObject();
92}
93bool skr_json_writer_t::StartArray()
94{
95 _Prefix(SKR_JSONTYPE_ARRAY);
96 _levelStack.push_back({ true, 0 });
97 return _WriteStartArray();
98}
99bool skr_json_writer_t::EndArray()
100{
101 SKR_ASSERT(_levelStack.size() > 0); // not inside an Object

Callers 6

AddCookTaskMethod · 0.80
SerializeTextMethod · 0.80
WriteMethod · 0.80
WriteMethod · 0.80
WriteMethod · 0.80
json.cppFile · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected