|
CBMC
|
#include <json.h>
Inheritance diagram for json_objectt:
Collaboration diagram for json_objectt:Public Types | |
| using | value_type = objectt::value_type |
| using | iterator = objectt::iterator |
| using | const_iterator = objectt::const_iterator |
Public Types inherited from jsont | |
| enum | kindt { kindt::J_STRING, kindt::J_NUMBER, kindt::J_OBJECT, kindt::J_ARRAY, kindt::J_TRUE, kindt::J_FALSE, kindt::J_NULL } |
Public Member Functions | |
| json_objectt () | |
| json_objectt (std::initializer_list< typename objectt::value_type > &&initializer_list) | |
| template<typename begin_iteratort , typename end_iteratort > | |
| json_objectt (begin_iteratort &&begin_iterator, end_iteratort &&end_iterator) | |
| template<typename iteratort > | |
| json_objectt (ranget< iteratort > &&range) | |
| jsont & | operator[] (const std::string &key) |
| const jsont & | operator[] (const std::string &key) const |
| iterator | insert (const_iterator it, value_type value) |
| iterator | find (const std::string &key) |
| const_iterator | find (const std::string &key) const |
| std::size_t | size () const |
| iterator | begin () |
| const_iterator | begin () const |
| const_iterator | cbegin () const |
| iterator | end () |
| const_iterator | end () const |
| const_iterator | cend () const |
Public Member Functions inherited from jsont | |
| bool | is_string () const |
| bool | is_number () const |
| bool | is_object () const |
| bool | is_array () const |
| bool | is_boolean () const |
| bool | is_true () const |
| bool | is_false () const |
| bool | is_null () const |
| jsont () | |
| void | output (std::ostream &out) const |
| void | swap (jsont &other) |
| void | clear () |
| json_arrayt & | make_array () |
| json_objectt & | make_object () |
| const jsont & | operator[] (const std::string &key) const |
| void | output_rec (std::ostream &, unsigned indent) const |
| Recursive printing of the json object. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from jsont | |
| static jsont | json_boolean (bool value) |
| static void | output_key (std::ostream &out, const std::string &key) |
| static void | output_object (std::ostream &out, const objectt &object, unsigned indent) |
| Basic handling of the printing of a JSON object. More... | |
Public Attributes inherited from jsont | |
| kindt | kind |
| std::string | value |
Static Public Attributes inherited from jsont | |
| static const jsont | null_json_object |
Protected Types inherited from jsont | |
| typedef std::vector< jsont > | arrayt |
| typedef std::map< std::string, jsont > | objectt |
Protected Member Functions inherited from jsont | |
| jsont (kindt _kind) | |
| jsont (kindt _kind, std::string _value) | |
| jsont (kindt _kind, arrayt &&entries) | |
| jsont (kindt _kind, objectt &&objects) | |
Static Protected Member Functions inherited from jsont | |
| static void | escape_string (const std::string &, std::ostream &) |
Protected Attributes inherited from jsont | |
| arrayt | array |
| objectt | object |
| using json_objectt::const_iterator = objectt::const_iterator |
| using json_objectt::iterator = objectt::iterator |
| using json_objectt::value_type = objectt::value_type |
|
inlineexplicit |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |