JSON for Modern C++  3.0
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 = int64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator>
value_t nlohmann::basic_json::type ( ) const
inlinenoexcept

Return the type of the JSON value as a value from the value_t enumeration.

Returns
the type of the JSON value