8 #ifndef INCLUDED_ORCUS_JSON_DOCUMENT_TREE_HPP 9 #define INCLUDED_ORCUS_JSON_DOCUMENT_TREE_HPP 11 #include "orcus/env.hpp" 12 #include "orcus/exception.hpp" 33 namespace json {
namespace detail {
74 friend class ::orcus::json_document_tree;
77 std::unique_ptr<impl> mp_impl;
79 node(
const json_value* jv);
100 size_t child_count()
const;
109 std::vector<pstring> keys()
const;
125 pstring key(
size_t index)
const;
140 node child(
size_t index)
const;
182 double numeric_value()
const;
193 uintptr_t identity()
const;
198 typedef json::detail::node_t json_node_t;
206 std::unique_ptr<impl> mp_impl;
232 void load(
const char* p,
size_t n,
const json_config& config);
239 node get_document_root()
const;
246 std::string dump()
const;
254 std::string dump_xml()
const;
Definition: pstring.hpp:24
Definition: json_document_tree.hpp:22
Definition: exception.hpp:18
Definition: json_document_tree.hpp:72
Definition: config.hpp:17
Definition: string_pool.hpp:22
Definition: config.hpp:34
Definition: json_document_tree.hpp:203
Definition: base64.hpp:15