Class json::JSON
Inherited by the following classes: TempLat::FileToJSON
Classes
| Type | Name |
|---|---|
| class | JSONConstWrapper <typename Container> |
| class | JSONWrapper <typename Container> |
Public Types
| Type | Name |
|---|---|
| enum | Class |
Public Functions
| Type | Name |
|---|---|
| JSONWrapper< deque< JSON > > | ArrayRange () |
| JSONConstWrapper< deque< JSON > > | ArrayRange () const |
| void | EraseByValue (T val) |
| bool | IsNull () const Functions for getting primitives from the JSON object. |
| JSON () |
|
| JSON (initializer_list< JSON > list) |
|
| JSON (JSON && other) |
|
| JSON (const JSON & other) |
|
| JSON (T b, typename enable_if< is_same< T, bool >::value >::type *=0) |
|
| JSON (T i, typename enable_if< is_integral< T >::value &&!is_same< T, bool >::value >::type *=0) |
|
| JSON (T f, typename enable_if< is_floating_point< T >::value >::type *=0) |
|
| JSON (T s, typename enable_if< is_convertible< T, string >::value >::type *=0) |
|
| JSON (std::nullptr_t) |
|
| Class | JSONType () const |
| JSONWrapper< map< string, JSON > > | ObjectRange () |
| JSONConstWrapper< map< string, JSON > > | ObjectRange () const |
| bool | ToBool () const |
| bool | ToBool (bool & ok) const |
| double | ToFloat () const |
| double | ToFloat (bool & ok) const |
| long | ToInt () const |
| long | ToInt (bool & ok) const |
| string | ToString () const |
| string | ToString (bool & ok) const |
| std::enable_if< std::is_floating_point< T >::value, T >::type | Value () |
| std::enable_if< std::is_integral< T >::value, T >::type | Value () |
| std::enable_if< std::is_same< T, bool >::value, T >::type | Value () |
| std::enable_if< std::is_same< T, std::string >::value, T >::type | Value () |
| bool | ValueAsBoolean () const |
| double | ValueAsFloating () const |
| long long int | ValueAsIntegral () const |
| string | ValueAsString () const |
| void | append (T arg) |
| void | append (T arg, U... args) |
| JSON & | at (const string & key) |
| const JSON & | at (const string & key) const |
| JSON & | at (unsigned index) |
| const JSON & | at (unsigned index) const |
| string | dump (int depth=1, string tab=" ") const |
| bool | hasKey (const string & key) const |
| int | length () const |
| JSON & | operator= (JSON && other) |
| JSON & | operator= (const JSON & other) |
| enable_if< is_same< T, bool >::value, JSON & >::type | operator= (T b) |
| enable_if< is_integral< T >::value &&!is_same< T, bool >::value, JSON & >::type | operator= (T i) |
| enable_if< is_floating_point< T >::value, JSON & >::type | operator= (T f) |
| enable_if< is_convertible< T, string >::value, JSON & >::type | operator= (T s) |
| JSON & | operator[] (const string & key) |
| JSON & | operator[] (unsigned index) |
| int | size () const |
| int | size_nonnull () const |
| ~JSON () |
Public Static Functions
| Type | Name |
|---|---|
| const char * | ClassString (Class c) |
| JSON | Load (const string & str) |
| JSON | Make (Class type) |
Public Types Documentation
enum Class
Public Functions Documentation
function ArrayRange [1/2]
function ArrayRange [2/2]
function EraseByValue
function IsNull
Functions for getting primitives from the JSON object.
function JSON [1/9]
function JSON [2/9]
function JSON [3/9]
function JSON [4/9]
function JSON [5/9]
template<typename T>
inline json::JSON::JSON (
T b,
typename enable_if< is_same< T, bool >::value >::type *=0
)
function JSON [6/9]
template<typename T>
inline json::JSON::JSON (
T i,
typename enable_if< is_integral< T >::value &&!is_same< T, bool >::value >::type *=0
)
function JSON [7/9]
template<typename T>
inline json::JSON::JSON (
T f,
typename enable_if< is_floating_point< T >::value >::type *=0
)
function JSON [8/9]
template<typename T>
inline json::JSON::JSON (
T s,
typename enable_if< is_convertible< T, string >::value >::type *=0
)
function JSON [9/9]
function JSONType
function ObjectRange [1/2]
function ObjectRange [2/2]
function ToBool [1/2]
function ToBool [2/2]
function ToFloat [1/2]
function ToFloat [2/2]
function ToInt [1/2]
function ToInt [2/2]
function ToString [1/2]
function ToString [2/2]
function Value [1/4]
template<typename T>
inline std::enable_if< std::is_floating_point< T >::value, T >::type json::JSON::Value ()
function Value [2/4]
template<typename T>
inline std::enable_if< std::is_integral< T >::value, T >::type json::JSON::Value ()
function Value [3/4]
template<typename T>
inline std::enable_if< std::is_same< T, bool >::value, T >::type json::JSON::Value ()
function Value [4/4]
template<typename T>
inline std::enable_if< std::is_same< T, std::string >::value, T >::type json::JSON::Value ()
function ValueAsBoolean
function ValueAsFloating
function ValueAsIntegral
function ValueAsString
function append [1/2]
function append [2/2]
function at [1/4]
function at [2/4]
function at [3/4]
function at [4/4]
function dump
function hasKey
function length
function operator=
function operator=
function operator=
template<typename T>
inline enable_if< is_same< T, bool >::value, JSON & >::type json::JSON::operator= (
T b
)
function operator=
template<typename T>
inline enable_if< is_integral< T >::value &&!is_same< T, bool >::value, JSON & >::type json::JSON::operator= (
T i
)
function operator=
template<typename T>
inline enable_if< is_floating_point< T >::value, JSON & >::type json::JSON::operator= (
T f
)
function operator=
template<typename T>
inline enable_if< is_convertible< T, string >::value, JSON & >::type json::JSON::operator= (
T s
)
function operator[]
function operator[]
function size
function size_nonnull
function ~JSON
Public Static Functions Documentation
function ClassString
function Load
function Make
Friends Documentation
friend operator<<
The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/util/json/simplejson.h