2.5.2 Container length

The type and total length of each JSON Value can be determined by looking at its first uint64_t value.

This means that any structured type, whether an object, array, or string, can be skipped in constant time because it does not need to be parsed. This enables access to any object member in linear or constant time.

For objects and the array variant 0xa, the container length is explicit and is redundant. For all other value types, it is implicit.

Non-ConfidentialPDF file icon PDF version101196_0100_00_en
Copyright © 2018 Arm Limited or its affiliates. All rights reserved.