| 23672 | /// @sa https://json.nlohmann.me/api/basic_json/from_bjdata/ |
| 23673 | template<typename InputType> |
| 23674 | JSON_HEDLEY_WARN_UNUSED_RESULT |
| 23675 | static basic_json from_bjdata(InputType&& i, |
| 23676 | const bool strict = true, |
| 23677 | const bool allow_exceptions = true) |
| 23678 | { |
| 23679 | basic_json result; |
| 23680 | detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions); |
| 23681 | auto ia = detail::input_adapter(std::forward<InputType>(i)); |
| 23682 | const bool res = binary_reader<decltype(ia)>(std::move(ia), input_format_t::bjdata).sax_parse(input_format_t::bjdata, &sdp, strict); |
| 23683 | return res ? result : basic_json(value_t::discarded); |
| 23684 | } |
| 23685 | |
| 23686 | /// @brief create a JSON value from an input in BJData format |
| 23687 | /// @sa https://json.nlohmann.me/api/basic_json/from_bjdata/ |
nothing calls this directly
no test coverage detected