Flow123d  release_2.2.0-41-g0958a8d
Classes | Namespaces | Typedefs | Functions
json.hpp File Reference
#include <algorithm>
#include <array>
#include <cassert>
#include <ciso646>
#include <cmath>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <functional>
#include <initializer_list>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <limits>
#include <map>
#include <memory>
#include <sstream>
#include <stdexcept>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >
 a class to store JSON values More...
 
class  nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::json_reverse_iterator< Base >
 a template for a reverse iterator class More...
 
union  nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::json_value
 a JSON value More...
 
class  nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::iteration_proxy< IteratorType >
 proxy class for the iterator_wrapper functions More...
 
class  nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::primitive_iterator_t
 an iterator for primitive JSON types More...
 
struct  nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::internal_iterator
 an iterator value More...
 
class  nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::iteration_proxy< IteratorType >
 proxy class for the iterator_wrapper functions More...
 
class  nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::iteration_proxy< IteratorType >::iteration_proxy_internal
 helper class for iteration More...
 
class  nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::const_iterator
 a const random access iterator for the basic_json class More...
 
class  nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::iterator
 a mutable random access iterator for the basic_json class More...
 
class  nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::json_reverse_iterator< Base >
 a template for a reverse iterator class More...
 
class  nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::lexer
 lexical analysis More...
 
class  nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::parser
 syntax analysis More...
 
struct  std::hash< nlohmann::json >
 hash value for JSON objects More...
 

Namespaces

 nlohmann
 namespace for Niels Lohmann
 
 std
 

Typedefs

using nlohmann::json = basic_json<>
 default JSON class More...
 

Functions

template<>
void std::swap (nlohmann::json &j1, nlohmann::json &j2) noexcept(is_nothrow_move_constructible< nlohmann::json >::value andis_nothrow_move_assignable< nlohmann::json >::value)
 exchanges the values of two JSON objects More...
 
nlohmann::json operator""_json (const char *s, std::size_t)
 user-defined string literal for JSON values More...
 

Function Documentation

nlohmann::json operator""_json ( const char *  s,
std::size_t   
)
inline

user-defined string literal for JSON values

This operator implements a user-defined string literal for JSON objects. It can be used by adding "_json" to a string literal and returns a JSON object if no parse error occurred.

Parameters
[in]sa string representation of a JSON object
Returns
a JSON object
Since
version 1.0.0

Definition at line 8727 of file json.hpp.

Variable Documentation

constexpr bool value = sizeof(test<T>(0)) == 1
static

Definition at line 87 of file json.hpp.