Return a modifiable reference to the held array element at index.
Synopsis
Declared in <bdljsn_json.h>
Json&
operator[](std::size_t index);
Description
Return a reference providing modifiable access to the element at the specified index in the JsonArray held by this object. The behavior is undefined unless isArray() returns true and index < theArray().size().
Return Value
modifiable reference to the held array element at index
Parameters
Name |
Description |
index |
zero‐based element position |
Created with MrDocs