Instrument Neutral Distributed Interface INDI  2.0.2
Namespaces | Classes | Typedefs | Functions
nlohmann Namespace Reference

namespace for Niels Lohmann More...

Namespaces

 detail
 detail namespace with internal helper functions
 

Classes

struct  adl_serializer
 default JSONSerializer template argument More...
 
class  basic_json
 a class to store JSON values More...
 
class  json_pointer
 JSON Pointer defines a string syntax for identifying a specific value within a JSON document. More...
 
struct  ordered_map
 a minimal map-like container that preserves insertion order More...
 
class  byte_container_with_subtype
 an internal type for a backed binary type More...
 
struct  json_sax
 SAX interface. More...
 

Typedefs

using json = basic_json<>
 default specialization More...
 
using ordered_json = basic_json< nlohmann::ordered_map >
 specialization that maintains the insertion order of object keys More...
 

Functions

 NLOHMANN_CAN_CALL_STD_FUNC_IMPL (begin)
 
 NLOHMANN_CAN_CALL_STD_FUNC_IMPL (end)
 
template<typename RefStringTypeLhs , typename RefStringTypeRhs >
bool operator== (json_pointer< RefStringTypeLhs > const &lhs, json_pointer< RefStringTypeRhs > const &rhs) noexcept
 
template<typename RefStringTypeLhs , typename RefStringTypeRhs >
bool operator!= (json_pointer< RefStringTypeLhs > const &lhs, json_pointer< RefStringTypeRhs > const &rhs) noexcept
 
NLOHMANN_BASIC_JSON_TPL_DECLARATION std::string to_string (const NLOHMANN_BASIC_JSON_TPL &j)
 user-defined to_string function for JSON values More...
 

Detailed Description

namespace for Niels Lohmann

See also
https://github.com/nlohmann
Since
version 1.0.0

namespace to hold default to_json function to see why this is required: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4381.html

Typedef Documentation

◆ json

using nlohmann::json = typedef basic_json<>

default specialization

See also
https://json.nlohmann.me/api/json/

Definition at line 3196 of file json.h.

◆ ordered_json

specialization that maintains the insertion order of object keys

See also
https://json.nlohmann.me/api/ordered_json/

Definition at line 3205 of file json.h.

Function Documentation

◆ NLOHMANN_CAN_CALL_STD_FUNC_IMPL() [1/2]

nlohmann::NLOHMANN_CAN_CALL_STD_FUNC_IMPL ( begin  )

◆ NLOHMANN_CAN_CALL_STD_FUNC_IMPL() [2/2]

nlohmann::NLOHMANN_CAN_CALL_STD_FUNC_IMPL ( end  )

◆ operator!=()

template<typename RefStringTypeLhs , typename RefStringTypeRhs >
bool nlohmann::operator!= ( json_pointer< RefStringTypeLhs > const &  lhs,
json_pointer< RefStringTypeRhs > const &  rhs 
)
inlinenoexcept
Parameters
[in]lhsJSON pointer to compare
[in]rhsJSON pointer to compare
Returns
whether lhs is not equal rhs

@complexity Linear in the length of the JSON pointer

@exceptionsafety No-throw guarantee: this function never throws exceptions.

Definition at line 14090 of file json.h.

◆ operator==()

template<typename RefStringTypeLhs , typename RefStringTypeRhs >
bool nlohmann::operator== ( json_pointer< RefStringTypeLhs > const &  lhs,
json_pointer< RefStringTypeRhs > const &  rhs 
)
inlinenoexcept
Parameters
[in]lhsJSON pointer to compare
[in]rhsJSON pointer to compare
Returns
whether lhs is equal to rhs

@complexity Linear in the length of the JSON pointer

@exceptionsafety No-throw guarantee: this function never throws exceptions.

Definition at line 14083 of file json.h.

◆ to_string()

NLOHMANN_BASIC_JSON_TPL_DECLARATION std::string nlohmann::to_string ( const NLOHMANN_BASIC_JSON_TPL j)

user-defined to_string function for JSON values

See also
https://json.nlohmann.me/api/basic_json/to_string/

Definition at line 23613 of file json.h.