JSON for Modern C++
3.0.1
|
◆ boolean_t
template<template< typename, typename, typename... > class ObjectType = std::map, template< typename, typename... > 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 > class AllocatorType = std::allocator, template< typename, typename=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.
|