Definition at line 1620 of file json.h.
|
| Json () |
|
| Json (bool b) |
|
| Json (const char *s) |
|
| Json (const fl::shared_ptr< JsonValue > &value) |
|
| Json (const fl::string &s) |
|
| Json (const fl::vector< float > &vec) |
|
| Json (const Json &other) |
|
| Json (double d) |
|
| Json (fl::nullptr_t) |
|
| Json (float f) |
|
| Json (int i) |
|
| Json (int64_t i) |
|
| Json (JsonArray a) |
|
| Json (JsonObject o) |
|
template<typename T> |
fl::optional< T > | as () const |
|
fl::optional< JsonArray > | as_array () const |
|
fl::optional< fl::vector< int16_t > > | as_audio () const |
|
fl::optional< bool > | as_bool () const |
|
fl::optional< fl::vector< uint8_t > > | as_bytes () const |
|
fl::optional< double > | as_double () const |
|
fl::optional< float > | as_float () const |
|
template<typename FloatType> |
fl::optional< FloatType > | as_float () const |
|
fl::optional< fl::vector< float > > | as_floats () const |
|
fl::optional< int64_t > | as_int () const |
|
template<typename IntType> |
fl::optional< IntType > | as_int () const |
|
fl::optional< JsonObject > | as_object () const |
|
template<typename T> |
T | as_or (const T &fallback) const |
|
fl::optional< fl::string > | as_string () const |
|
JsonValue::iterator | begin () |
|
JsonValue::const_iterator | begin () const |
|
template<typename T> |
JsonValue::template array_iterator< T > | begin_array () |
|
template<typename T> |
JsonValue::template array_iterator< T > | begin_array () const |
|
bool | contains (const fl::string &key) const |
|
bool | contains (size_t idx) const |
|
JsonValue::iterator | end () |
|
JsonValue::const_iterator | end () const |
|
template<typename T> |
JsonValue::template array_iterator< T > | end_array () |
|
template<typename T> |
JsonValue::template array_iterator< T > | end_array () const |
|
fl::vector< fl::string > | getObjectKeys () const |
|
size_t | getSize () const |
|
bool | has_value () const |
|
bool | is_array () const |
|
bool | is_audio () const |
|
bool | is_bool () const |
|
bool | is_bytes () const |
|
bool | is_double () const |
|
bool | is_float () const |
|
bool | is_floats () const |
|
bool | is_generic_array () const |
|
bool | is_int () const |
|
bool | is_null () const |
|
bool | is_object () const |
|
bool | is_string () const |
|
fl::vector< fl::string > | keys () const |
|
Json & | operator= (bool value) |
|
Json & | operator= (const char *value) |
|
Json & | operator= (const fl::string &value) |
|
Json & | operator= (const Json &other) |
|
Json & | operator= (double value) |
|
Json & | operator= (fl::vector< float > vec) |
|
Json & | operator= (float value) |
|
Json & | operator= (int value) |
|
Json & | operator= (Json &&other) |
|
Json | operator[] (const fl::string &key) |
|
const Json | operator[] (const fl::string &key) const |
|
Json | operator[] (size_t idx) |
|
const Json | operator[] (size_t idx) const |
|
template<typename T> |
T | operator| (const T &fallback) const |
|
void | push_back (const Json &value) |
|
fl::string | serialize () const |
|
void | set (const fl::string &key, bool value) |
|
void | set (const fl::string &key, const char *value) |
|
void | set (const fl::string &key, const fl::string &value) |
|
void | set (const fl::string &key, const Json &value) |
|
void | set (const fl::string &key, double value) |
|
void | set (const fl::string &key, float value) |
|
void | set (const fl::string &key, int value) |
|
void | set (const fl::string &key, int64_t value) |
|
template<typename T, typename = fl::enable_if_t<fl::is_same<T, char>::value>> |
void | set (const fl::string &key, T value) |
|
void | set_value (const fl::shared_ptr< JsonValue > &value) |
|
size_t | size () const |
|
fl::string | to_string () const |
|
fl::string | to_string_native () const |
|
fl::string | to_string_native_public () const |
|
template<typename T> |
fl::optional< T > | try_as () const |
|
template<typename T> |
T | value () const |
|
|
template<typename T> |
fl::enable_if< fl::is_integral< T >::value &&!fl::is_same< T, bool >::value, fl::optional< T > >::type | as_impl () const |
|
template<typename T> |
fl::enable_if< fl::is_same< T, bool >::value, fl::optional< T > >::type | as_impl () const |
|
template<typename T> |
fl::enable_if< fl::is_floating_point< T >::value, fl::optional< T > >::type | as_impl () const |
|
template<typename T> |
fl::enable_if< fl::is_same< T, fl::string >::value, fl::optional< T > >::type | as_impl () const |
|
template<typename T> |
fl::enable_if< fl::is_same< T, JsonArray >::value, fl::optional< T > >::type | as_impl () const |
|
template<typename T> |
fl::enable_if< fl::is_same< T, JsonObject >::value, fl::optional< T > >::type | as_impl () const |
|
template<typename T> |
fl::enable_if< fl::is_same< T, fl::vector< int16_t > >::value, fl::optional< T > >::type | as_impl () const |
|
template<typename T> |
fl::enable_if< fl::is_same< T, fl::vector< uint8_t > >::value, fl::optional< T > >::type | as_impl () const |
|
template<typename T> |
fl::enable_if< fl::is_same< T, fl::vector< float > >::value, fl::optional< T > >::type | as_impl () const |
|
template<typename T> |
fl::enable_if< fl::is_integral< T >::value &&!fl::is_same< T, bool >::value, T >::type | get_default_value () const |
|
template<typename T> |
fl::enable_if< fl::is_same< T, bool >::value, T >::type | get_default_value () const |
|
template<typename T> |
fl::enable_if< fl::is_floating_point< T >::value, T >::type | get_default_value () const |
|
template<typename T> |
fl::enable_if< fl::is_same< T, fl::string >::value, T >::type | get_default_value () const |
|
template<typename T> |
fl::enable_if< fl::is_same< T, JsonArray >::value, T >::type | get_default_value () const |
|
template<typename T> |
fl::enable_if< fl::is_same< T, JsonObject >::value, T >::type | get_default_value () const |
|
template<typename T> |
fl::enable_if< fl::is_same< T, fl::vector< int16_t > >::value, T >::type | get_default_value () const |
|
template<typename T> |
fl::enable_if< fl::is_same< T, fl::vector< uint8_t > >::value, T >::type | get_default_value () const |
|
template<typename T> |
fl::enable_if< fl::is_same< T, fl::vector< float > >::value, T >::type | get_default_value () const |
|