ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nlohmann::detail::binary_reader< BasicJsonType, SAX > Class Template Reference

deserialization of CBOR, MessagePack, and UBJSON values More...

#include <acts/blob/master/thirdparty/nlohmann_json/single_include/nlohmann/json.hpp>

Public Member Functions

 binary_reader (input_adapter_t adapter)
 create a binary reader
 
 binary_reader (const binary_reader &)=delete
 
 binary_reader (binary_reader &&)=default
 
binary_readeroperator= (const binary_reader &)=delete
 
binary_readeroperator= (binary_reader &&)=default
 
 ~binary_reader ()=default
 
bool sax_parse (const input_format_t format, json_sax_t *sax_, const bool strict=true)
 

Static Public Member Functions

static constexpr bool little_endianess (int num=1) noexcept
 determine system byte order
 

Private Types

using number_integer_t = typename BasicJsonType::number_integer_t
 
using number_unsigned_t = typename BasicJsonType::number_unsigned_t
 
using number_float_t = typename BasicJsonType::number_float_t
 
using string_t = typename BasicJsonType::string_t
 
using json_sax_t = SAX
 

Private Member Functions

bool parse_bson_internal ()
 Reads in a BSON-object and passes it to the SAX-parser.
 
bool get_bson_cstr (string_t &result)
 Parses a C-style string from the BSON input.
 
template<typename NumberType >
bool get_bson_string (const NumberType len, string_t &result)
 Parses a zero-terminated string of length len from the BSON input.
 
bool parse_bson_element_internal (const int element_type, const std::size_t element_type_parse_position)
 Read a BSON document element of the given element_type.
 
bool parse_bson_element_list (const bool is_array)
 Read a BSON element list (as specified in the BSON-spec)
 
bool parse_bson_array ()
 Reads an array from the BSON input and passes it to the SAX-parser.
 
bool parse_cbor_internal (const bool get_char=true)
 
bool get_cbor_string (string_t &result)
 reads a CBOR string
 
bool get_cbor_array (const std::size_t len)
 
bool get_cbor_object (const std::size_t len)
 
bool parse_msgpack_internal ()
 
bool get_msgpack_string (string_t &result)
 reads a MessagePack string
 
bool get_msgpack_array (const std::size_t len)
 
bool get_msgpack_object (const std::size_t len)
 
bool parse_ubjson_internal (const bool get_char=true)
 
bool get_ubjson_string (string_t &result, const bool get_char=true)
 reads a UBJSON string
 
bool get_ubjson_size_value (std::size_t &result)
 
bool get_ubjson_size_type (std::pair< std::size_t, int > &result)
 determine the type and size for a container
 
bool get_ubjson_value (const int prefix)
 
bool get_ubjson_array ()
 
bool get_ubjson_object ()
 
int get ()
 get next character from the input
 
int get_ignore_noop ()
 
template<typename NumberType , bool InputIsLittleEndian = false>
bool get_number (const input_format_t format, NumberType &result)
 
template<typename NumberType >
bool get_string (const input_format_t format, const NumberType len, string_t &result)
 create a string by reading characters from the input
 
bool unexpect_eof (const input_format_t format, const char *context) const
 
std::string get_token_string () const
 
std::string exception_message (const input_format_t format, const std::string &detail, const std::string &context) const
 

Private Attributes

input_adapter_t ia = nullptr
 input adapter
 
int current = std::char_traits<char>::eof()
 the current character
 
std::size_t chars_read = 0
 the number of characters read
 
const bool is_little_endian = little_endianess()
 whether we can assume little endianess
 
json_sax_tsax = nullptr
 the SAX parser
 

Detailed Description

template<typename BasicJsonType, typename SAX = json_sax_dom_parser<BasicJsonType>>
class nlohmann::detail::binary_reader< BasicJsonType, SAX >

deserialization of CBOR, MessagePack, and UBJSON values

Definition at line 5175 of file json.hpp.

View newest version in sPHENIX GitHub at line 5175 of file json.hpp

Member Typedef Documentation

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
using nlohmann::detail::binary_reader< BasicJsonType, SAX >::json_sax_t = SAX
private

Definition at line 5181 of file json.hpp.

View newest version in sPHENIX GitHub at line 5181 of file json.hpp

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
using nlohmann::detail::binary_reader< BasicJsonType, SAX >::number_float_t = typename BasicJsonType::number_float_t
private

Definition at line 5179 of file json.hpp.

View newest version in sPHENIX GitHub at line 5179 of file json.hpp

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
using nlohmann::detail::binary_reader< BasicJsonType, SAX >::number_integer_t = typename BasicJsonType::number_integer_t
private

Definition at line 5177 of file json.hpp.

View newest version in sPHENIX GitHub at line 5177 of file json.hpp

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
using nlohmann::detail::binary_reader< BasicJsonType, SAX >::number_unsigned_t = typename BasicJsonType::number_unsigned_t
private

Definition at line 5178 of file json.hpp.

View newest version in sPHENIX GitHub at line 5178 of file json.hpp

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
using nlohmann::detail::binary_reader< BasicJsonType, SAX >::string_t = typename BasicJsonType::string_t
private

Definition at line 5180 of file json.hpp.

View newest version in sPHENIX GitHub at line 5180 of file json.hpp

Constructor & Destructor Documentation

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
nlohmann::detail::binary_reader< BasicJsonType, SAX >::binary_reader ( input_adapter_t  adapter)
inlineexplicit

create a binary reader

Parameters
[in]adapterinput adapter to read from

Definition at line 5189 of file json.hpp.

View newest version in sPHENIX GitHub at line 5189 of file json.hpp

References void().

+ Here is the call graph for this function:

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
nlohmann::detail::binary_reader< BasicJsonType, SAX >::binary_reader ( const binary_reader< BasicJsonType, SAX > &  )
delete
template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
nlohmann::detail::binary_reader< BasicJsonType, SAX >::binary_reader ( binary_reader< BasicJsonType, SAX > &&  )
default
template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
nlohmann::detail::binary_reader< BasicJsonType, SAX >::~binary_reader ( )
default

Member Function Documentation

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
std::string nlohmann::detail::binary_reader< BasicJsonType, SAX >::exception_message ( const input_format_t  format,
const std::string &  detail,
const std::string &  context 
) const
inlineprivate
Parameters
[in]formatthe current format
[in]detaila detailed error message
[in]contextfurther context information
Returns
a message string to use in the parse_error exceptions

Definition at line 7075 of file json.hpp.

View newest version in sPHENIX GitHub at line 7075 of file json.hpp

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
int nlohmann::detail::binary_reader< BasicJsonType, SAX >::get ( )
inlineprivate

get next character from the input

This function provides the interface to the used input adapter. It does not throw in case the input reached EOF, but returns a -'ve valued std::char_traits<char>::eof() in that case.

Returns
character read from the input

Definition at line 6949 of file json.hpp.

View newest version in sPHENIX GitHub at line 6949 of file json.hpp

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::get_bson_cstr ( string_t result)
inlineprivate

Parses a C-style string from the BSON input.

Parameters
[in,out]resultA reference to the string variable where the read string is to be stored.
Returns
true if the -byte indicating the end of the string was encountered before the EOF; false` indicates an unexpected EOF.

Definition at line 5307 of file json.hpp.

View newest version in sPHENIX GitHub at line 5307 of file json.hpp

References JSON_HEDLEY_UNLIKELY.

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
template<typename NumberType >
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::get_bson_string ( const NumberType  len,
string_t result 
)
inlineprivate

Parses a zero-terminated string of length len from the BSON input.

Parameters
[in]lenThe length (including the zero-byte at the end) of the string to be read.
[in,out]resultA reference to the string variable where the read string is to be stored.
Template Parameters
NumberTypeThe type of the length len
Precondition
len >= 1
Returns
true if the string was successfully parsed

Definition at line 5339 of file json.hpp.

View newest version in sPHENIX GitHub at line 5339 of file json.hpp

References JSON_HEDLEY_UNLIKELY, and nlohmann::to_string().

+ Here is the call graph for this function:

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::get_cbor_array ( const std::size_t  len)
inlineprivate
Parameters
[in]lenthe length of the array or std::size_t(-1) for an array of indefinite size
Returns
whether array creation completed

Definition at line 5928 of file json.hpp.

View newest version in sPHENIX GitHub at line 5928 of file json.hpp

References JSON_HEDLEY_UNLIKELY.

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::get_cbor_object ( const std::size_t  len)
inlineprivate
Parameters
[in]lenthe length of the object or std::size_t(-1) for an object of indefinite size
Returns
whether object creation completed

Definition at line 5964 of file json.hpp.

View newest version in sPHENIX GitHub at line 5964 of file json.hpp

References JSON_HEDLEY_UNLIKELY.

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::get_cbor_string ( string_t result)
inlineprivate

reads a CBOR string

This function first reads starting bytes to determine the expected string length and then copies this number of bytes into a string. Additionally, CBOR's strings with indefinite lengths are supported.

Parameters
[out]resultcreated string
Returns
whether string creation completed

Definition at line 5839 of file json.hpp.

View newest version in sPHENIX GitHub at line 5839 of file json.hpp

References JSON_HEDLEY_UNLIKELY.

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
int nlohmann::detail::binary_reader< BasicJsonType, SAX >::get_ignore_noop ( )
inlineprivate
Returns
character read from the input after ignoring all 'N' entries

Definition at line 6958 of file json.hpp.

View newest version in sPHENIX GitHub at line 6958 of file json.hpp

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::get_msgpack_array ( const std::size_t  len)
inlineprivate
Parameters
[in]lenthe length of the array
Returns
whether array creation completed

Definition at line 6456 of file json.hpp.

View newest version in sPHENIX GitHub at line 6456 of file json.hpp

References JSON_HEDLEY_UNLIKELY.

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::get_msgpack_object ( const std::size_t  len)
inlineprivate
Parameters
[in]lenthe length of the object
Returns
whether object creation completed

Definition at line 6478 of file json.hpp.

View newest version in sPHENIX GitHub at line 6478 of file json.hpp

References JSON_HEDLEY_UNLIKELY.

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::get_msgpack_string ( string_t result)
inlineprivate

reads a MessagePack string

This function first reads starting bytes to determine the expected string length and then copies this number of bytes into a string.

Parameters
[out]resultcreated string
Returns
whether string creation completed

Definition at line 6380 of file json.hpp.

View newest version in sPHENIX GitHub at line 6380 of file json.hpp

References JSON_HEDLEY_UNLIKELY.

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
template<typename NumberType , bool InputIsLittleEndian = false>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::get_number ( const input_format_t  format,
NumberType &  result 
)
inlineprivate

Definition at line 6983 of file json.hpp.

View newest version in sPHENIX GitHub at line 6983 of file json.hpp

References JSON_HEDLEY_UNLIKELY.

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
template<typename NumberType >
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::get_string ( const input_format_t  format,
const NumberType  len,
string_t result 
)
inlineprivate

create a string by reading characters from the input

Template Parameters
NumberTypethe type of the number
Parameters
[in]formatthe current format (for diagnostics)
[in]lennumber of characters to read
[out]resultstring created by reading len bytes
Returns
whether string creation completed
Note
We can not reserve len bytes for the result, because len may be too large. Usually, unexpect_eof() detects the end of the input before we run out of string memory.

Definition at line 7026 of file json.hpp.

View newest version in sPHENIX GitHub at line 7026 of file json.hpp

References JSON_HEDLEY_UNLIKELY.

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
std::string nlohmann::detail::binary_reader< BasicJsonType, SAX >::get_token_string ( ) const
inlineprivate
Returns
a string representation of the last read byte

Definition at line 7062 of file json.hpp.

View newest version in sPHENIX GitHub at line 7062 of file json.hpp

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::get_ubjson_array ( )
inlineprivate
Returns
whether array creation completed

Definition at line 6802 of file json.hpp.

View newest version in sPHENIX GitHub at line 6802 of file json.hpp

References JSON_HEDLEY_UNLIKELY.

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::get_ubjson_object ( )
inlineprivate
Returns
whether object creation completed

Definition at line 6864 of file json.hpp.

View newest version in sPHENIX GitHub at line 6864 of file json.hpp

References JSON_HEDLEY_UNLIKELY.

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::get_ubjson_size_type ( std::pair< std::size_t, int > &  result)
inlineprivate

determine the type and size for a container

In the optimized UBJSON format, a type and a size can be provided to allow for a more compact representation.

Parameters
[out]resultpair of the size and the type
Returns
whether pair creation completed

Definition at line 6665 of file json.hpp.

View newest version in sPHENIX GitHub at line 6665 of file json.hpp

References JSON_HEDLEY_UNLIKELY.

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::get_ubjson_size_value ( std::size_t &  result)
inlineprivate
Parameters
[out]resultdetermined size
Returns
whether size determination completed

Definition at line 6588 of file json.hpp.

View newest version in sPHENIX GitHub at line 6588 of file json.hpp

References JSON_HEDLEY_UNLIKELY.

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::get_ubjson_string ( string_t result,
const bool  get_char = true 
)
inlineprivate

reads a UBJSON string

This function is either called after reading the 'S' byte explicitly indicating a string, or in case of an object key where the 'S' byte can be left out.

Parameters
[out]resultcreated string
[in]get_charwhether a new character should be retrieved from the input (true, default) or whether the last read character should be considered instead
Returns
whether string creation completed

Definition at line 6534 of file json.hpp.

View newest version in sPHENIX GitHub at line 6534 of file json.hpp

References JSON_HEDLEY_UNLIKELY.

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::get_ubjson_value ( const int  prefix)
inlineprivate
Parameters
prefixthe previously read or set type prefix
Returns
whether value creation completed

Definition at line 6706 of file json.hpp.

View newest version in sPHENIX GitHub at line 6706 of file json.hpp

References JSON_HEDLEY_UNLIKELY.

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
static constexpr bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::little_endianess ( int  num = 1)
inlinestaticnoexcept

determine system byte order

Returns
true if and only if system's byte order is little endian
Note
from http://stackoverflow.com/a/1001328/266378

Definition at line 5268 of file json.hpp.

View newest version in sPHENIX GitHub at line 5268 of file json.hpp

References num.

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
binary_reader& nlohmann::detail::binary_reader< BasicJsonType, SAX >::operator= ( const binary_reader< BasicJsonType, SAX > &  )
delete
template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
binary_reader& nlohmann::detail::binary_reader< BasicJsonType, SAX >::operator= ( binary_reader< BasicJsonType, SAX > &&  )
default
template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::parse_bson_array ( )
inlineprivate

Reads an array from the BSON input and passes it to the SAX-parser.

Returns
whether a valid BSON-array was passed to the SAX parser

Definition at line 5468 of file json.hpp.

View newest version in sPHENIX GitHub at line 5468 of file json.hpp

References JSON_HEDLEY_UNLIKELY.

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::parse_bson_element_internal ( const int  element_type,
const std::size_t  element_type_parse_position 
)
inlineprivate

Read a BSON document element of the given element_type.

Parameters
[in]element_typeThe BSON element type, c.f. http://bsonspec.org/spec.html
[in]element_type_parse_positionThe position in the input stream, where the element_type was read.
Warning
Not all BSON element types are supported yet. An unsupported element_type will give rise to a parse_error.114: Unsupported BSON record type 0x...
Returns
whether a valid BSON-object/array was passed to the SAX parser

Definition at line 5360 of file json.hpp.

View newest version in sPHENIX GitHub at line 5360 of file json.hpp

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::parse_bson_element_list ( const bool  is_array)
inlineprivate

Read a BSON element list (as specified in the BSON-spec)

The same binary layout is used for objects and arrays, hence it must be indicated with the argument is_array which one is expected (true –> array, false –> object).

Parameters
[in]is_arrayDetermines if the element list being read is to be treated as an object (is_array == false), or as an array (is_array == true).
Returns
whether a valid BSON-object/array was passed to the SAX parser

Definition at line 5431 of file json.hpp.

View newest version in sPHENIX GitHub at line 5431 of file json.hpp

References JSON_HEDLEY_UNLIKELY.

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::parse_bson_internal ( )
inlineprivate

Reads in a BSON-object and passes it to the SAX-parser.

Returns
whether a valid BSON-value was passed to the SAX parser

Definition at line 5282 of file json.hpp.

View newest version in sPHENIX GitHub at line 5282 of file json.hpp

References JSON_HEDLEY_UNLIKELY.

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::parse_cbor_internal ( const bool  get_char = true)
inlineprivate
Parameters
[in]get_charwhether a new character should be retrieved from the input (true, default) or whether the last read character should be considered instead
Returns
whether a valid CBOR value was passed to the SAX parser

Definition at line 5497 of file json.hpp.

View newest version in sPHENIX GitHub at line 5497 of file json.hpp

References half, JSON_HEDLEY_UNLIKELY, and Acts::UnitConstants::u.

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::parse_msgpack_internal ( )
inlineprivate
Returns
whether a valid MessagePack value was passed to the SAX parser

Definition at line 6016 of file json.hpp.

View newest version in sPHENIX GitHub at line 6016 of file json.hpp

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::parse_ubjson_internal ( const bool  get_char = true)
inlineprivate
Parameters
[in]get_charwhether a new character should be retrieved from the input (true, default) or whether the last read character should be considered instead
Returns
whether a valid UBJSON value was passed to the SAX parser

Definition at line 6515 of file json.hpp.

View newest version in sPHENIX GitHub at line 6515 of file json.hpp

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::sax_parse ( const input_format_t  format,
json_sax_t sax_,
const bool  strict = true 
)
inline
Parameters
[in]formatthe binary format to parse
[in]sax_a SAX event processor
[in]strictwhether to expect the input to be consumed completed
Returns

Definition at line 5210 of file json.hpp.

View newest version in sPHENIX GitHub at line 5210 of file json.hpp

References JSON_HEDLEY_UNLIKELY.

Referenced by nlohmann::basic_json::from_bson(), nlohmann::basic_json::from_cbor(), nlohmann::basic_json::from_msgpack(), and nlohmann::basic_json::from_ubjson().

+ Here is the caller graph for this function:

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::unexpect_eof ( const input_format_t  format,
const char *  context 
) const
inlineprivate
Parameters
[in]formatthe current format (for diagnostics)
[in]contextfurther context information (for diagnostics)
Returns
whether the last read character is not EOF

Definition at line 7049 of file json.hpp.

View newest version in sPHENIX GitHub at line 7049 of file json.hpp

References JSON_HEDLEY_UNLIKELY.

Member Data Documentation

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
std::size_t nlohmann::detail::binary_reader< BasicJsonType, SAX >::chars_read = 0
private

the number of characters read

Definition at line 7114 of file json.hpp.

View newest version in sPHENIX GitHub at line 7114 of file json.hpp

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
int nlohmann::detail::binary_reader< BasicJsonType, SAX >::current = std::char_traits<char>::eof()
private

the current character

Definition at line 7111 of file json.hpp.

View newest version in sPHENIX GitHub at line 7111 of file json.hpp

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
input_adapter_t nlohmann::detail::binary_reader< BasicJsonType, SAX >::ia = nullptr
private

input adapter

Definition at line 7108 of file json.hpp.

View newest version in sPHENIX GitHub at line 7108 of file json.hpp

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
const bool nlohmann::detail::binary_reader< BasicJsonType, SAX >::is_little_endian = little_endianess()
private

whether we can assume little endianess

Definition at line 7117 of file json.hpp.

View newest version in sPHENIX GitHub at line 7117 of file json.hpp

template<typename BasicJsonType , typename SAX = json_sax_dom_parser<BasicJsonType>>
json_sax_t* nlohmann::detail::binary_reader< BasicJsonType, SAX >::sax = nullptr
private

the SAX parser

Definition at line 7120 of file json.hpp.

View newest version in sPHENIX GitHub at line 7120 of file json.hpp


The documentation for this class was generated from the following file: