back overloads

Synopses

Declared in <bdljsn_json.h>

Return a reference providing modifiable access to the last element in this JsonArray. The behavior is undefined unless this JsonArray is not empty.

Json&
back();

Return a reference providing non‐modifiable access to the last element in this JsonArray. The behavior is undefined unless this JsonArray is not empty.

Json const&
back() const;

Return Value

  • reference providing modifiable access to the last element in this JsonArray

  • reference providing non‐modifiable access to the last element in this JsonArray

Created with MrDocs