[#BloombergLP-bdljsn-Json_Initializer] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::Json_Initializer :relfileprefix: ../../ :mrdocs: This component‐private class is designed capture a set of values that can be used to initialize a `Json` object, or an element in a `JsonArray`, or the "value" portion of a `JsonObject` member. This class is not modifiable, and (except for small types like `int`) does not own the objects that it holds. The purpose here is to enable list‐initialization (including nested lists) of `Json`, `JsonArray`, and `JsonObject` objects. The lifetime of a `Json_Initializer` object should not exceed that of list‐initialization expression because pointers held here would no longer be valid. == Synopsis Declared in `<bdljsn_json.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class Json_Initializer; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdljsn/Json_Initializer/Storage.adoc[`Storage`] | This `typedef` is an alias for `Storage`. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdljsn/Json_Initializer/2constructor-0c2.adoc[`Json_Initializer`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bdljsn/Json_Initializer/get_storage.adoc[`get_storage`] | Return a reference providing non‐modifiable access to the internal variant. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#