| 313 | } |
| 314 | |
| 315 | bool StartArray() { |
| 316 | if (Access(S.top()).IsArray()) { |
| 317 | S.emplace(&Access(S.top()).AppendValue(NJson::JSON_ARRAY)); |
| 318 | if (!IsWithinStackBounds()) { |
| 319 | return false; |
| 320 | } |
| 321 | } else { |
| 322 | Access(S.top()).SetType(NJson::JSON_ARRAY); |
| 323 | } |
| 324 | return true; |
| 325 | } |
| 326 | |
| 327 | bool EndArray(rapidjson::SizeType elementCount) { |
| 328 | Y_ASSERT(elementCount == Access(S.top()).GetArray().size()); |
nothing calls this directly
no test coverage detected