Eclipse SUMO - Simulation of Urban MObility
nlohmann Namespace Reference

namespace for Niels Lohmann More...

Namespaces

 detail
 detail namespace with internal helper functions
 

Data Structures

struct  adl_serializer
 default JSONSerializer template argument More...
 
class  basic_json
 a class to store JSON values More...
 
class  byte_container_with_subtype
 an internal type for a backed binary type More...
 
class  json_pointer
 JSON Pointer defines a string syntax for identifying a specific value within a JSON document. More...
 
struct  json_sax
 SAX interface. More...
 
struct  ordered_map
 a minimal map-like container that preserves insertion order 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)
 
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 3337 of file json.hpp.

◆ ordered_json

specialization that maintains the insertion order of object keys

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

Definition at line 3346 of file json.hpp.

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  )

◆ 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 21838 of file json.hpp.

Referenced by nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::at(), MSDevice_ElecHybrid::buildVehicleDevices(), nlohmann::detail::binary_writer< BasicJsonType, CharType >::calc_bson_array_size(), nlohmann::detail::binary_writer< BasicJsonType, CharType >::calc_bson_entry_header_size(), NEMALogic::calculateForceOffs170(), NBPTLineCont::constructRoute(), NEMALogic::constructTimingAndPhaseDefs(), nlohmann::detail::parse_error::create(), nlohmann::detail::exception::diagnostics(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::diff(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::erase(), zstr::Exception::error_to_message(), nlohmann::json_pointer< BasicJsonType >::flatten(), nlohmann::detail::serializer< BasicJsonType >::for(), nlohmann::detail::binary_reader< BasicJsonType, InputAdapterType, SAX >::get_bson_binary(), nlohmann::detail::binary_reader< BasicJsonType, InputAdapterType, SAX >::get_bson_string(), nlohmann::json_pointer< BasicJsonType >::get_checked(), nlohmann::json_pointer< BasicJsonType >::get_unchecked(), NEMALogic::getParameter(), nlohmann::detail::int_to_string(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::meta(), nlohmann::detail::exception::name(), nlohmann::json_pointer< BasicJsonType >::operator/=(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::patch(), nlohmann::detail::parse_error::position_string(), nlohmann::detail::json_sax_dom_parser< BasicJsonType >::start_array(), nlohmann::detail::json_sax_dom_callback_parser< BasicJsonType >::start_array(), nlohmann::detail::json_sax_dom_parser< BasicJsonType >::start_object(), nlohmann::detail::json_sax_dom_callback_parser< BasicJsonType >::start_object(), strict_fstream::strerror(), CharacteristicMap::toString(), nlohmann::detail::binary_writer< BasicJsonType, CharType >::write_bson_array(), and nlohmann::detail::binary_writer< BasicJsonType, CharType >::write_bson_unsigned().

Here is the caller graph for this function: