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

Method EndArray

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

Source from the content-addressed store, hash-verified

97 return _WriteStartArray();
98}
99bool skr_json_writer_t::EndArray()
100{
101 SKR_ASSERT(_levelStack.size() > 0); // not inside an Object
102 SKR_ASSERT(_levelStack.back().isArray); // currently inside an Array, not Object
103 _levelStack.pop_back();
104 return _WriteEndArray();
105}
106bool skr_json_writer_t::RawValue(const TChar* str, TSize length, ESkrJsonType type)
107{
108 _Prefix(type);

Callers 7

AddCookTaskMethod · 0.45
SerializeTextMethod · 0.45
serializeImplMethod · 0.45
WriteMethod · 0.45
WriteMethod · 0.45
WriteMethod · 0.45
json.cppFile · 0.45

Calls 3

sizeMethod · 0.45
backMethod · 0.45
pop_backMethod · 0.45

Tested by

no test coverage detected