#include <json.h>
Classes | |
| struct | const_iterator |
| class | exception |
| struct | items_view |
| struct | iterator |
Public Member Functions | |
| Json ()=default | |
| Json (std::nullptr_t) | |
| Json (bool) | |
| Json (int) | |
| Json (double) | |
| Json (const char *) | |
| Json (const std::string &) | |
| template<typename T > | |
| Json (const T &) | |
| template<typename T > | |
| Json & | operator= (const T &) |
| Json & | operator[] (const std::string &) |
| const Json & | operator[] (const std::string &) const |
| Json & | operator[] (size_t) |
| const Json & | operator[] (size_t) const |
| Json & | operator[] (int) |
| const Json & | operator[] (int) const |
| template<typename T > | |
| T | get () const |
| template<typename T > | |
| T | value (const std::string &, const T &def) const |
| bool | contains (const std::string &) const |
| bool | is_null () const |
| bool | is_boolean () const |
| bool | is_number () const |
| bool | is_object () const |
| bool | is_array () const |
| bool | is_string () const |
| bool | is_discarded () const |
| size_t | size () const |
| bool | empty () const |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| items_view | items () |
| std::string | dump (int=-1, char=' ', bool=false, int=0) const |
Static Public Member Functions | |
| static Json | object () |
| static Json | array () |
| static Json | parse (const std::string &) |
|
inlinestatic |
Definition at line 34 of file json.h.
References Json().
Referenced by yaze::editor::anonymous_namespace{layout_manager.cc}::BoolMapToJson(), yaze::editor::PaletteGroupPanel::ExportToJson(), yaze::editor::CommandPalette::SaveHistory(), yaze::editor::LayoutManager::SaveLayoutsToDisk(), and yaze::editor::PanelManager::SavePresetsToFile().

|
inlinestatic |
Definition at line 35 of file json.h.
References Json().
Referenced by yaze::editor::PaletteGroupPanel::ExportToJson(), and yaze::editor::AgentChatHistoryCodec::Save().

|
inlinestatic |
Definition at line 36 of file json.h.
Referenced by yaze::editor::PaletteGroupPanel::ImportFromJson(), yaze::core::HackManifest::LoadFromString(), yaze::editor::CommandPalette::LoadHistory(), and yaze::core::HackManifest::LoadProjectRegistry().
|
inline |
|
inline |
|
inline |
Definition at line 50 of file json.h.
Referenced by yaze::core::HackManifest::LoadFromString().
|
inline |
Definition at line 53 of file json.h.
Referenced by yaze::editor::PaletteGroupPanel::ImportFromJson(), yaze::core::HackManifest::LoadFromString(), yaze::editor::CommandPalette::LoadHistory(), yaze::editor::LayoutManager::LoadLayoutsFromDiskInternal(), yaze::editor::PanelManager::LoadPresetsFromFile(), and yaze::core::HackManifest::LoadProjectRegistry().
|
inline |
Definition at line 57 of file json.h.
Referenced by yaze::editor::PaletteGroupPanel::ImportFromJson(), yaze::editor::anonymous_namespace{layout_manager.cc}::JsonToBoolMap(), yaze::editor::CommandPalette::LoadHistory(), yaze::editor::LayoutManager::LoadLayoutsFromDiskInternal(), and yaze::core::HackManifest::LoadProjectRegistry().
|
inline |
Definition at line 58 of file json.h.
Referenced by yaze::editor::PaletteGroupPanel::ImportFromJson(), yaze::editor::PanelManager::LoadPresetsFromFile(), and yaze::core::HackManifest::LoadProjectRegistry().
|
inline |
|
inline |
|
inline |
Definition at line 88 of file json.h.
Referenced by yaze::editor::anonymous_namespace{layout_manager.cc}::JsonToBoolMap(), yaze::editor::CommandPalette::LoadHistory(), yaze::editor::LayoutManager::LoadLayoutsFromDiskInternal(), yaze::editor::PanelManager::LoadPresetsFromFile(), and yaze::core::HackManifest::LoadProjectRegistry().
|
inline |
Definition at line 91 of file json.h.
Referenced by yaze::editor::PaletteGroupPanel::ExportToJson(), yaze::editor::CommandPalette::SaveHistory(), yaze::editor::LayoutManager::SaveLayoutsToDisk(), and yaze::editor::PanelManager::SavePresetsToFile().