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

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

== Synopsis

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

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

== Description

No tokens can be generated until a source `bdljsn&colon;&colon;Json` object is specified via the `reset` method&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *allocator*
| memory allocator
|===


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