[#BloombergLP-baljsn-JsonTokenizer-2constructor-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/JsonTokenizer.adoc[JsonTokenizer]::JsonTokenizer
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;baljsn&lowbar;jsontokenizer&period;h&gt;`

Create a `JsonTokenizer` object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/baljsn/JsonTokenizer/2constructor-08.adoc[JsonTokenizer]();
----

[.small]#xref:BloombergLP/baljsn/JsonTokenizer/2constructor-08.adoc[_» more&period;&period;&period;_]#

Create a `JsonTokenizer` object that uses the specified `allocator`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/baljsn/JsonTokenizer/2constructor-01.adoc[JsonTokenizer](xref:BloombergLP/baljsn/JsonTokenizer/allocator_type.adoc[allocator&lowbar;type] const& allocator);
----

[.small]#xref:BloombergLP/baljsn/JsonTokenizer/2constructor-01.adoc[_» more&period;&period;&period;_]#

Create a `JsonTokenizer` that tokenizes the specified `json` object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/baljsn/JsonTokenizer/2constructor-04.adoc[JsonTokenizer](
    xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const* json,
    xref:BloombergLP/baljsn/JsonTokenizer/allocator_type.adoc[allocator&lowbar;type] const& allocator = allocator&lowbar;type());
----

[.small]#xref:BloombergLP/baljsn/JsonTokenizer/2constructor-04.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *allocator*
| memory allocator
| *json*
| source JSON array or object
|===


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