neoGFX
Cross-platform C++ app/game engine
|
#include <json.hpp>
Public Types | |
typedef T | json_value |
typedef json_value::value_type | value_type |
typedef json_value::json_string | json_string |
Public Member Functions | |
basic_json_object () | |
basic_json_object (json_value &aOwner) | |
bool | has (const json_string &aKey) const |
const json_value & | at (const json_string &aKey) const |
json_value & | at (const json_string &aKey) |
template<typename U > | |
std::enable_if_t<!std::is_arithmetic_v< U >, const U & > | at_or (const json_string &aKey, const U &aDefault) const |
template<typename U > | |
std::enable_if_t<!std::is_arithmetic_v< U >, U & > | at_or (const json_string &aKey, U &aDefault) |
template<typename U > | |
std::enable_if_t< std::is_arithmetic_v< U >, U > | at_or (const json_string &aKey, const U &aDefault) const |
template<typename U > | |
std::enable_if_t< std::is_arithmetic_v< U >, U & > | at_or (const json_string &aKey, U &aDefault) |
json_value & | operator[] (const json_string &aKey) |
json_value & | contents () const |
void | set_contents (json_value &aOwner) |
Friends | |
template<json_syntax Syntax, typename Alloc , typename CharT , typename Traits , typename CharAlloc > | |
class | basic_json |
template<json_syntax Syntax, typename Alloc , typename CharT , typename Traits , typename CharAlloc > | |
class | basic_json_value |
typedef json_value::json_string neolib::basic_json_object< T >::json_string |
typedef json_value::value_type neolib::basic_json_object< T >::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |