This component‐private class is designed capture a set of values that can be used to initialize an element in a JsonObject. The purpose here is to enable list‐initialization (including nested lists) of JSON objects.

Synopsis

Declared in <bdljsn_json.h>

class JsonObject_MemberInitializer;

Member Functions

Name

Description

JsonObject_MemberInitializer [constructor]

Constructors

key

Return the key that the object was created with.

value

Return a reference providing non‐modifiable access to the value that the object was created with.

Created with MrDocs