MCPcopy Create free account
hub / github.com/bcndev/bytecoin / begin_array

Method begin_array

src/seria/JsonOutputStream.cpp:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38bool JsonOutputStreamValue::begin_array(size_t &size, bool fixed_size) {
39 chain.push_back(insert_or_push(JsonValue(JsonValue::ARRAY), size == 0));
40 return true;
41}
42
43void JsonOutputStreamValue::end_array() {
44 invariant(!chain.empty(), "");

Callers

nothing calls this directly

Calls 1

JsonValueClass · 0.85

Tested by

no test coverage detected