26 #include "../../pmr/memory_resource.h"
31 #ifdef EMLABCPP_USE_NLOHMANN_JSON
32 #include <nlohmann/json.hpp>
37 std::optional< value_type > json_to_value_type( nlohmann::json
const& j );
39 nlohmann::json value_type_to_json(
value_type const& tv );
41 key_type json_to_key_type( nlohmann::json
const& j );
43 std::optional< data_tree >
44 json_to_data_tree( pmr::memory_resource& mem_res, nlohmann::json
const& inpt );
46 nlohmann::json data_tree_to_json(
data_tree const& tree );
MIT License.
Definition: base.h:37
key_type_buffer key_type
Definition: base.h:47
std::variant< int64_t, float, bool, string_buffer > value_type
Definition: base.h:51
contiguous_tree< key_type, value_type > data_tree
Definition: base.h:55