Return a reference providing non‐modifiable access to the element at the specified index in this JsonArray. The behavior is undefined unless index < size().

Synopsis

Declared in <bdljsn_json.h>

Json const&
operator[](std::size_t index) const;

Return Value

a non‐modifiable reference to the element at the specified position

Parameters

Name

Description

index

zero‐based element position

Created with MrDocs