6#ifndef METALL_JSON_PARSE_HPP
7#define METALL_JSON_PARSE_HPP
18namespace bj = boost::json;
27template <
typename allocator_type = std::allocator<std::
byte>>
29 std::string_view input_json_string,
30 const allocator_type &allocator = allocator_type())
32template <
typename allocator_type>
34 const allocator_type &allocator)
38 auto bj_value = bj::parse(input_json_string.data(), ec);
40 std::cerr <<
"Failed to parse: " << ec.message() << std::endl;