FastLED 3.9.15
|
#include <json.h>
Classes | |
class | array_iterator |
class | const_iterator |
struct | IsArrayVisitor |
class | iterator |
Public Types | |
typedef JsonValue::const_iterator | const_iterator |
typedef JsonValue::iterator | iterator |
using | variant_t |
Public Member Functions | |
JsonValue () noexcept | |
JsonValue (bool b) noexcept | |
JsonValue (const fl::string &s) | |
JsonValue (const fl::vector< float > &floats) | |
JsonValue (const fl::vector< int16_t > &audio) | |
JsonValue (const fl::vector< uint8_t > &bytes) | |
JsonValue (const JsonArray &a) | |
JsonValue (const JsonObject &o) | |
JsonValue (const JsonValue &other) | |
JsonValue (fl::nullptr_t) noexcept | |
JsonValue (fl::vector< float > &&floats) | |
JsonValue (fl::vector< int16_t > &&audio) | |
JsonValue (fl::vector< uint8_t > &&bytes) | |
JsonValue (float f) noexcept | |
JsonValue (int64_t i) noexcept | |
fl::optional< JsonArray > | as_array () |
fl::optional< JsonArray > | as_array () const |
fl::optional< fl::vector< int16_t > > | as_audio () |
fl::optional< fl::vector< int16_t > > | as_audio () const |
fl::optional< bool > | as_bool () |
fl::optional< bool > | as_bool () const |
fl::optional< fl::vector< uint8_t > > | as_bytes () |
fl::optional< fl::vector< uint8_t > > | as_bytes () const |
fl::optional< double > | as_double () const |
fl::optional< float > | as_float () |
template<typename FloatType> | |
fl::optional< FloatType > | as_float () |
fl::optional< float > | as_float () const |
template<typename FloatType> | |
fl::optional< FloatType > | as_float () const |
fl::optional< fl::vector< float > > | as_floats () |
fl::optional< fl::vector< float > > | as_floats () const |
fl::optional< int64_t > | as_int () |
template<typename IntType> | |
fl::optional< IntType > | as_int () |
fl::optional< int64_t > | as_int () const |
template<typename IntType> | |
fl::optional< IntType > | as_int () const |
fl::optional< JsonObject > | as_object () |
fl::optional< JsonObject > | as_object () const |
template<typename T> | |
T | as_or (const T &fallback) const |
fl::optional< fl::string > | as_string () |
fl::optional< fl::string > | as_string () const |
iterator | begin () |
const_iterator | begin () const |
template<typename T> | |
array_iterator< T > | begin_array () |
template<typename T> | |
array_iterator< T > | begin_array () const |
bool | contains (const fl::string &key) const |
bool | contains (size_t idx) const |
iterator | end () |
const_iterator | end () const |
template<typename T> | |
array_iterator< T > | end_array () |
template<typename T> | |
array_iterator< T > | end_array () const |
template<typename T> | |
fl::optional< T > | get () |
template<typename T> | |
fl::optional< T > | get () const |
fl::vector< fl::string > | getObjectKeys () const |
bool | is_array () const noexcept |
bool | is_audio () const noexcept |
bool | is_bool () const noexcept |
bool | is_bytes () const noexcept |
bool | is_double () const noexcept |
bool | is_float () const noexcept |
bool | is_floats () const noexcept |
bool | is_generic_array () const noexcept |
bool | is_int () const noexcept |
bool | is_null () const noexcept |
bool | is_object () const noexcept |
bool | is_string () const noexcept |
fl::vector< fl::string > | keys () const |
JsonValue & | operator= (bool b) |
JsonValue & | operator= (const JsonValue &other) |
JsonValue & | operator= (double d) |
JsonValue & | operator= (fl::nullptr_t) |
JsonValue & | operator= (fl::string s) |
JsonValue & | operator= (fl::vector< float > floats) |
JsonValue & | operator= (fl::vector< int16_t > audio) |
JsonValue & | operator= (fl::vector< uint8_t > bytes) |
JsonValue & | operator= (float f) |
JsonValue & | operator= (int64_t i) |
JsonValue & | operator= (JsonArray a) |
JsonValue & | operator= (JsonValue &&other) |
template<typename T> | |
fl::enable_if<!fl::is_same< typenamefl::remove_cv< typenamefl::remove_reference< T >::type >::type, JsonValue >::value, JsonValue & >::type | operator= (T &&value) |
JsonValue & | operator[] (const fl::string &key) |
JsonValue & | operator[] (size_t idx) |
template<typename T> | |
T | operator| (const T &fallback) const |
size_t | size () const |
fl::string | to_string () const |
template<typename Visitor> | |
auto | visit (Visitor &&visitor) -> decltype(visitor(fl::nullptr_t{})) |
template<typename Visitor> | |
auto | visit (Visitor &&visitor) const -> decltype(visitor(fl::nullptr_t{})) |
Static Public Member Functions | |
static fl::shared_ptr< JsonValue > | from_char (char c) |
static fl::shared_ptr< JsonValue > | parse (const fl::string &txt) |
Public Attributes | |
variant_t | data |
Friends | |
const_iterator | begin (const JsonValue &v) |
iterator | begin (JsonValue &v) |
const_iterator | end (const JsonValue &v) |
iterator | end (JsonValue &v) |
class | Json |
class | SerializerVisitor |