nlohmann::to_string

user-defined to_string function for JSON values

Synopsis

Declared in <nlohmann/json.hpp>
template<
    template<
    typename,
    typename,
    typename...> typename ObjectType,
    template<
    typename,
    typename...> typename ArrayType,
    class StringType,
    class BooleanType,
    class NumberIntegerType,
    class NumberUnsignedType,
    class NumberFloatType,
    template<typename> typename AllocatorType,
    template<
    typename,
    typename = void> typename JSONSerializer,
    class BinaryType,
    class CustomBaseClass>
std::string
to_string(basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType, CustomBaseClass> const& j);


Parameters

Name Description
j a class to store JSON values

Created with MrDocs