[#BloombergLP-bdljsn-JsonObject_MemberInitializer]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::JsonObject&lowbar;MemberInitializer
:relfileprefix: ../../
:mrdocs:

Component&hyphen;private helper that captures key&sol;value pairs for object list&hyphen;initialization&period;

== Synopsis

Declared in `&lt;bdljsn&lowbar;json&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class JsonObject&lowbar;MemberInitializer;
----

== Description

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

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdljsn/JsonObject_MemberInitializer/2constructor-05.adoc[`JsonObject&lowbar;MemberInitializer`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/bdljsn/JsonObject_MemberInitializer/key.adoc[`key`] 
| Return the key that the object was created with&period;
| xref:BloombergLP/bdljsn/JsonObject_MemberInitializer/value.adoc[`value`] 
| Return a reference providing non&hyphen;modifiable access to the value that the object was created with&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
