<trclass="memdesc:namespacenlohmann_1_1detail_1_1dtoa__impl"><tdclass="mdescLeft"> </td><tdclass="mdescRight">implements the Grisu2 algorithm for binary to decimal floating-point conversion. <br/></td></tr>
<trclass="memdesc:"><tdclass="mdescLeft"> </td><tdclass="mdescRight">deserialization of CBOR, MessagePack, and UBJSON values <ahref="classnlohmann_1_1detail_1_1binary__reader.html#details">More...</a><br/></td></tr>
<trclass="memdesc:"><tdclass="mdescLeft"> </td><tdclass="mdescRight">serialization to CBOR and MessagePack values <ahref="classnlohmann_1_1detail_1_1binary__writer.html#details">More...</a><br/></td></tr>
<trclass="memdesc:"><tdclass="mdescLeft"> </td><tdclass="mdescRight">general exception of the <aclass="el"href="classnlohmann_1_1basic__json.html">basic_json</a> class <ahref="classnlohmann_1_1detail_1_1exception.html#details">More...</a><br/></td></tr>
<trclass="memdesc:"><tdclass="mdescLeft"> </td><tdclass="mdescRight">an iterator value <ahref="structnlohmann_1_1detail_1_1internal__iterator.html#details">More...</a><br/></td></tr>
<trclass="memdesc:"><tdclass="mdescLeft"> </td><tdclass="mdescRight">a template for a bidirectional iterator for the <aclass="el"href="classnlohmann_1_1basic__json.html">basic_json</a> class This class implements a both iterators (iterator and const_iterator) for the <aclass="el"href="classnlohmann_1_1basic__json.html">basic_json</a> class. <ahref="classnlohmann_1_1detail_1_1iter__impl.html#details">More...</a><br/></td></tr>
<trclass="memdesc:"><tdclass="mdescLeft"> </td><tdclass="mdescRight">proxy class for the items() function <ahref="classnlohmann_1_1detail_1_1iteration__proxy.html#details">More...</a><br/></td></tr>
<trclass="memdesc:"><tdclass="mdescLeft"> </td><tdclass="mdescRight">a template for a reverse iterator class <ahref="classnlohmann_1_1detail_1_1json__reverse__iterator.html#details">More...</a><br/></td></tr>
<trclass="memdesc:"><tdclass="mdescLeft"> </td><tdclass="mdescRight">SAX implementation to create a JSON value from SAX events. <ahref="classnlohmann_1_1detail_1_1json__sax__dom__parser.html#details">More...</a><br/></td></tr>
<trclass="memdesc:"><tdclass="mdescLeft"> </td><tdclass="mdescRight">exception indicating access out of the defined range <ahref="classnlohmann_1_1detail_1_1out__of__range.html#details">More...</a><br/></td></tr>
<trclass="memdesc:"><tdclass="mdescLeft"> </td><tdclass="mdescRight">output adapter for basic_string <ahref="classnlohmann_1_1detail_1_1output__string__adapter.html#details">More...</a><br/></td></tr>
<trclass="memdesc:"><tdclass="mdescLeft"> </td><tdclass="mdescRight">struct to capture the start position of the current token <ahref="structnlohmann_1_1detail_1_1position__t.html#details">More...</a><br/></td></tr>
<trclass="memdesc:"><tdclass="mdescLeft"> </td><tdclass="mdescRight">exception indicating executing a member function with a wrong type <ahref="classnlohmann_1_1detail_1_1type__error.html#details">More...</a><br/></td></tr>
<trclass="memdesc:a9b680ddfb58f27eb53a67229447fc556"><tdclass="mdescLeft"> </td><tdclass="mdescRight">a type to simplify interfaces <br/></td></tr>
<trclass="memdesc:a1ed8fc6239da25abcaf681d30ace4985"><tdclass="mdescLeft"> </td><tdclass="mdescRight">the JSON type enumeration <ahref="namespacenlohmann_1_1detail.html#a1ed8fc6239da25abcaf681d30ace4985">More...</a><br/></td></tr>
<trclass="memdesc:a679e5e522ac6afa5d5923292fab450b8"><tdclass="mdescLeft"> </td><tdclass="mdescRight">hash a JSON value <ahref="namespacenlohmann_1_1detail.html#a679e5e522ac6afa5d5923292fab450b8">More...</a><br/></td></tr>
<trclass="memdesc:a6cca370ac6c99294dbe4fe24716a57dd"><tdclass="mdescLeft"> </td><tdclass="mdescRight">generates a decimal representation of the floating-point number value in [first, last). <ahref="namespacenlohmann_1_1detail.html#a6cca370ac6c99294dbe4fe24716a57dd">More...</a><br/></td></tr>
<divclass="textblock"><p>detail namespace with internal helper functions </p>
<p>This namespace collects functions that should not be exposed, implementations of some <aclass="el"href="classnlohmann_1_1basic__json.html">basic_json</a> methods, and meta-programming helpers.</p>
<p>This enumeration collects the different JSON types. It is internally used to distinguish the stored values, and the functions <aclass="el"href="classnlohmann_1_1basic__json.html#afe9a6fe72337a174cfb117a2081d2cfc">basic_json::is_null()</a>, <aclass="el"href="classnlohmann_1_1basic__json.html#ae3300a95d3bb4a55cb0e04b9f125e42f">basic_json::is_object()</a>, <aclass="el"href="classnlohmann_1_1basic__json.html#a1859e0c783a24df797b758e3fc21b966">basic_json::is_array()</a>, <aclass="el"href="classnlohmann_1_1basic__json.html#ae958b0bc067c82850145299711d8bcd5">basic_json::is_string()</a>, <aclass="el"href="classnlohmann_1_1basic__json.html#a0bd23e6f679145905a78020c07547559">basic_json::is_boolean()</a>, <aclass="el"href="classnlohmann_1_1basic__json.html#a5d5f20be10c6f6d263557def2ac504a3">basic_json::is_number()</a> (with <aclass="el"href="classnlohmann_1_1basic__json.html#a145005bad4fcab4f8620efec8de019ad">basic_json::is_number_integer()</a>, <aclass="el"href="classnlohmann_1_1basic__json.html#ac45bc02fd5f4f136f522844222012adc">basic_json::is_number_unsigned()</a>, and <aclass="el"href="classnlohmann_1_1basic__json.html#a926df0038ca14568f88a92d0caeba044">basic_json::is_number_float()</a>), <aclass="el"href="classnlohmann_1_1basic__json.html#a4fce66d66c424052b192ba45e08a661d">basic_json::is_discarded()</a>, <aclass="el"href="classnlohmann_1_1basic__json.html#a422885c85f603a13c36f8d0ac5d9f278">basic_json::is_primitive()</a>, and <aclass="el"href="classnlohmann_1_1basic__json.html#a5a53e5a09d9123bfeed6f664b1334f8c">basic_json::is_structured()</a> rely on it.</p>
<dlclass="section note"><dt>Note</dt><dd>There are three enumeration entries (number_integer, number_unsigned, and number_float), because the library distinguishes these three types for numbers: <aclass="el"href="classnlohmann_1_1basic__json.html#a440094de5ef4e119b2771b549b33da70">basic_json::number_unsigned_t</a> is used for unsigned integers, <aclass="el"href="classnlohmann_1_1basic__json.html#ab227d71ad47b6ed6a3acae52dedbb49d">basic_json::number_integer_t</a> is used for signed integers, and <aclass="el"href="classnlohmann_1_1basic__json.html#ade1eb06e9fc3ff2ba1efd709b94b401d">basic_json::number_float_t</a> is used for floating-point numbers or to approximate integers which do not fit in the limits of their respective type.</dd></dl>
<dlclass="section see"><dt>See also</dt><dd><aclass="el"href="classnlohmann_1_1basic__json.html#ad886f4baa2efb7ac6b0ca70dc72f3d18">basic_json::basic_json(const value_t value_type)</a>– create a JSON value with the default value for a given type</dd></dl>
<tr><thcolspan="2">Enumerator</th></tr><tr><tdclass="fieldname"><aid="a1ed8fc6239da25abcaf681d30ace4985a37a6259cc0c1dae299a7866489dff0bd"></a>null </td><tdclass="fielddoc"><p>null value </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a1ed8fc6239da25abcaf681d30ace4985aa8cfde6331bd59eb2ac96f8911c4b666"></a>object </td><tdclass="fielddoc"><p>object (unordered set of name/value pairs) </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a1ed8fc6239da25abcaf681d30ace4985af1f713c9e000f5d3f280adbd124df4f5"></a>array </td><tdclass="fielddoc"><p>array (ordered collection of values) </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a1ed8fc6239da25abcaf681d30ace4985ab45cffe084dd3d20d928bee85e7b0f21"></a>string </td><tdclass="fielddoc"><p>string value </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a1ed8fc6239da25abcaf681d30ace4985a84e2c64f38f78ba3ea5c905ab5a2da27"></a>boolean </td><tdclass="fielddoc"><p>boolean value </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a1ed8fc6239da25abcaf681d30ace4985a5763da164f8659d94a56e29df64b4bcc"></a>number_integer </td><tdclass="fielddoc"><p>number value (signed integer) </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a1ed8fc6239da25abcaf681d30ace4985adce7cc8ec29055c4158828921f2f265e"></a>number_unsigned </td><tdclass="fielddoc"><p>number value (unsigned integer) </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a1ed8fc6239da25abcaf681d30ace4985ad9966ecb59667235a57b4b999a649eef"></a>number_float </td><tdclass="fielddoc"><p>number value (floating-point) </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a1ed8fc6239da25abcaf681d30ace4985a9d7183f16acce70658f686ae7f1a4d20"></a>binary </td><tdclass="fielddoc"><p>binary array (ordered collection of bytes) </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a1ed8fc6239da25abcaf681d30ace4985a94708897ec9db8647dfe695714c98e46"></a>discarded </td><tdclass="fielddoc"><p>discarded by the parser callback function </p>
<tr><thcolspan="2">Enumerator</th></tr><tr><tdclass="fieldname"><aid="a58bb1ef1a9ad287a9cfaf1855784d9acacb5e100e5a9a3e7f6d1fd97512215282"></a>error </td><tdclass="fielddoc"><p>throw a <aclass="el"href="classnlohmann_1_1detail_1_1parse__error.html"title="exception indicating a parse error">parse_error</a> exception in case of a tag </p>
<tr><thcolspan="2">Enumerator</th></tr><tr><tdclass="fieldname"><aid="a2fb6dae6578e06ae73ca0d7cc8512b1aae73f17027cb0acbb537f29d0a6944b26"></a>object_start </td><tdclass="fielddoc"><p>the parser read <code>{</code> and started to process a JSON object </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a2fb6dae6578e06ae73ca0d7cc8512b1aaf63e2a2468a37aa4f394fcc3bcb8249c"></a>object_end </td><tdclass="fielddoc"><p>the parser read <code>}</code> and finished processing a JSON object </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a2fb6dae6578e06ae73ca0d7cc8512b1aaa4388a3d92419edbb1c6efd4d52461f3"></a>array_start </td><tdclass="fielddoc"><p>the parser read <code>[</code> and started to process a JSON array </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a2fb6dae6578e06ae73ca0d7cc8512b1aa49642fb732aa2e112188fba1f9d3ef7f"></a>array_end </td><tdclass="fielddoc"><p>the parser read <code>]</code> and finished processing a JSON array </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a2fb6dae6578e06ae73ca0d7cc8512b1aa3c6e0b8a9c15224a8228b9a98ca1531d"></a>key </td><tdclass="fielddoc"><p>the parser read a key of a value in an object </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a2fb6dae6578e06ae73ca0d7cc8512b1aa2063c1608d6e0baf80249c42e2be5804"></a>value </td><tdclass="fielddoc"><p>the parser finished reading a JSON value </p>
<tr><thcolspan="2">Enumerator</th></tr><tr><tdclass="fieldname"><aid="a5a76b60b26dc8c47256a996d18d967dfa2133fd717402a7966ee88d06f9e0b792"></a>strict </td><tdclass="fielddoc"><p>throw a <aclass="el"href="classnlohmann_1_1detail_1_1type__error.html"title="exception indicating executing a member function with a wrong type">type_error</a> exception in case of invalid UTF-8 </p>
</td></tr>
<tr><tdclass="fieldname"><aid="a5a76b60b26dc8c47256a996d18d967dfa9dde360102c103867bd2f45872f1129c"></a>replace </td><tdclass="fielddoc"><p>replace invalid UTF-8 sequences with U+FFFD </p>
<li>furthermore, each type is not smaller than itself</li>
<li>discarded values are not comparable</li>
<li>binary is represented as a b"" string in python and directly comparable to a string; however, making a binary array directly comparable with a string would be surprising behavior in a JSON file.</li>
<p>The hash function tries to rely on std::hash where possible. Furthermore, the type of the JSON value is taken into account to have different hash values for null, 0, 0U, and false, etc.</p>
<tr><tdclass="paramname">BasicJsonType</td><td><aclass="el"href="classnlohmann_1_1basic__json.html"title="a class to store JSON values">basic_json</a> specialization </td></tr>
</table>
</dd>
</dl>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">j</td><td>JSON value to hash </td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd>hash value of j </dd></dl>
<p>generates a decimal representation of the floating-point number value in [first, last). </p>
<p>The format of the resulting decimal representation is similar to printf's g format. Returns an iterator pointing past-the-end of the decimal representation.</p>
<dlclass="section note"><dt>Note</dt><dd>The input number must be finite, i.e. NaN's and Inf's are not supported. </dd>
<dd>
The buffer must be large enough. </dd>
<dd>
The result is NOT null-terminated. </dd></dl>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<divid="nav-path"class="navpath"><!-- id is needed for treeview function! -->