MUQ  0.4.3
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. More...
 
struct  ordered_map
 
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 JSON class More...
 
using ordered_json = basic_json< nlohmann::ordered_map >
 ordered JSON class More...
 

Functions

 MAKE_NLJSON_SERIALIZER_DESERIALIZER (py::object)
 
 MAKE_NLJSON_SERIALIZER_DESERIALIZER (py::bool_)
 
 MAKE_NLJSON_SERIALIZER_DESERIALIZER (py::int_)
 
 MAKE_NLJSON_SERIALIZER_DESERIALIZER (py::float_)
 
 MAKE_NLJSON_SERIALIZER_DESERIALIZER (py::str)
 
 MAKE_NLJSON_SERIALIZER_DESERIALIZER (py::list)
 
 MAKE_NLJSON_SERIALIZER_DESERIALIZER (py::tuple)
 
 MAKE_NLJSON_SERIALIZER_DESERIALIZER (py::dict)
 
 MAKE_NLJSON_SERIALIZER_ONLY (py::handle)
 
 MAKE_NLJSON_SERIALIZER_ONLY (py::detail::item_accessor)
 
 MAKE_NLJSON_SERIALIZER_ONLY (py::detail::list_accessor)
 
 MAKE_NLJSON_SERIALIZER_ONLY (py::detail::tuple_accessor)
 
 MAKE_NLJSON_SERIALIZER_ONLY (py::detail::sequence_accessor)
 
 MAKE_NLJSON_SERIALIZER_ONLY (py::detail::str_attr_accessor)
 
 MAKE_NLJSON_SERIALIZER_ONLY (py::detail::obj_attr_accessor)
 
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

namespace to hold default to_json function

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

Typedef Documentation

◆ json

using nlohmann::json = typedef basic_json<>

default JSON class

This type is the default specialization of the basic_json class which uses the standard template types.

Since
version 1.0.0

Definition at line 2933 of file json.h.

◆ ordered_json

ordered JSON class

This type preserves the insertion order of object keys.

Since
version 3.9.0

Definition at line 2945 of file json.h.

Function Documentation

◆ MAKE_NLJSON_SERIALIZER_DESERIALIZER() [1/8]

nlohmann::MAKE_NLJSON_SERIALIZER_DESERIALIZER ( py::bool_  )

◆ MAKE_NLJSON_SERIALIZER_DESERIALIZER() [2/8]

nlohmann::MAKE_NLJSON_SERIALIZER_DESERIALIZER ( py::dict  )

◆ MAKE_NLJSON_SERIALIZER_DESERIALIZER() [3/8]

nlohmann::MAKE_NLJSON_SERIALIZER_DESERIALIZER ( py::float_  )

◆ MAKE_NLJSON_SERIALIZER_DESERIALIZER() [4/8]

nlohmann::MAKE_NLJSON_SERIALIZER_DESERIALIZER ( py::int_  )

◆ MAKE_NLJSON_SERIALIZER_DESERIALIZER() [5/8]

nlohmann::MAKE_NLJSON_SERIALIZER_DESERIALIZER ( py::list  )

◆ MAKE_NLJSON_SERIALIZER_DESERIALIZER() [6/8]

nlohmann::MAKE_NLJSON_SERIALIZER_DESERIALIZER ( py::object  )

◆ MAKE_NLJSON_SERIALIZER_DESERIALIZER() [7/8]

nlohmann::MAKE_NLJSON_SERIALIZER_DESERIALIZER ( py::str  )

◆ MAKE_NLJSON_SERIALIZER_DESERIALIZER() [8/8]

nlohmann::MAKE_NLJSON_SERIALIZER_DESERIALIZER ( py::tuple  )

◆ MAKE_NLJSON_SERIALIZER_ONLY() [1/7]

nlohmann::MAKE_NLJSON_SERIALIZER_ONLY ( py::detail::item_accessor  )

◆ MAKE_NLJSON_SERIALIZER_ONLY() [2/7]

nlohmann::MAKE_NLJSON_SERIALIZER_ONLY ( py::detail::list_accessor  )

◆ MAKE_NLJSON_SERIALIZER_ONLY() [3/7]

nlohmann::MAKE_NLJSON_SERIALIZER_ONLY ( py::detail::obj_attr_accessor  )

◆ MAKE_NLJSON_SERIALIZER_ONLY() [4/7]

nlohmann::MAKE_NLJSON_SERIALIZER_ONLY ( py::detail::sequence_accessor  )

◆ MAKE_NLJSON_SERIALIZER_ONLY() [5/7]

nlohmann::MAKE_NLJSON_SERIALIZER_ONLY ( py::detail::str_attr_accessor  )

◆ MAKE_NLJSON_SERIALIZER_ONLY() [6/7]

nlohmann::MAKE_NLJSON_SERIALIZER_ONLY ( py::detail::tuple_accessor  )

◆ MAKE_NLJSON_SERIALIZER_ONLY() [7/7]

nlohmann::MAKE_NLJSON_SERIALIZER_ONLY ( py::handle  )

◆ 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

This function implements a user-defined to_string for JSON objects.

Parameters
[in]ja JSON object
Returns
a std::string object

Definition at line 25172 of file json.h.

Referenced by muq::Modeling::WorkGraph::AddEdge(), muq::Inference::KalmanFilter::Analyze(), muq::Utilities::AnisotropicLimiter::AnisotropicLimiter(), umbridge::HTTPModel::ApplyHessian(), umbridge::HTTPModel::ApplyJacobian(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::at(), muq::Modeling::WorkGraph::BindEdge(), nlohmann::detail::binary_writer< BasicJsonType, CharType >::calc_bson_array_size(), nlohmann::detail::binary_writer< BasicJsonType, CharType >::calc_bson_entry_header_size(), umbridge::check_input_sizes(), umbridge::check_input_wrt(), umbridge::check_output_sizes(), umbridge::check_output_wrt(), umbridge::check_sensitivity_size(), umbridge::check_vector_size(), muq::Modeling::ModPiece::CheckInputs(), muq::Modeling::ConcatenateOperator::CheckSizes(), muq::Modeling::Gaussian::Condition(), nlohmann::detail::parse_error::create(), muq::SamplingAlgorithms::MIMCMCBox::Draw(), muq::SamplingAlgorithms::MIMCMCBox::DrawChain(), nlohmann::detail::serializer< BasicJsonType >::dump_escaped(), muq::Utilities::OTF2Tracer::ensureRegionName(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::erase(), umbridge::HTTPModel::Evaluate(), muq::Modeling::WorkPiece::Evaluate(), muq::Optimization::NLoptOptimizer::EvaluateImpl(), nlohmann::json_pointer< BasicJsonType >::flatten(), nlohmann::json_pointer< BasicJsonType >::get_checked(), nlohmann::json_pointer< BasicJsonType >::get_unchecked(), umbridge::HTTPModel::GetInputSizes(), umbridge::HTTPModel::GetOutputSizes(), umbridge::HTTPModel::Gradient(), umbridge::HTTPModel::HTTPModel(), nlohmann::detail::int_to_string(), muq::Modeling::LinearSDE::LinearSDE(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::meta(), nlohmann::detail::exception::name(), nlohmann::json_pointer< BasicJsonType >::operator/=(), nlohmann::detail::parse_error::position_string(), muq::Approximation::StateSpaceGP::Predict(), muq::Modeling::ProductOperator::ProductOperator(), muq::Modeling::Gaussian::ResetHyperparameters(), muq::SamplingAlgorithms::GreedyMLMCMC::Run(), muq::Approximation::StateSpaceGP::SetObs(), muq::Modeling::ConstantVector::SetValue(), 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(), muq::SamplingAlgorithms::WorkerServer::WorkerServer(), nlohmann::detail::binary_writer< BasicJsonType, CharType >::write_bson_array(), and nlohmann::detail::binary_writer< BasicJsonType, CharType >::write_bson_unsigned().