JSON for Modern C++
2.1.1
|
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = std::int64_t, class NumberUnsignedType = std::uint64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator, template< typename T, typename SFINAE=void > class JSONSerializer = adl_serializer>
RFC 7159 implicitly describes a boolean as a type which differentiates the two literals To store objects in C++, a type is defined by the template parameter BooleanType which chooses the type to use. Default typeWith the default values for BooleanType ( bool StorageBoolean values are stored directly inside a basic_json type.
|