! @brief deserialize from a compatible input This function reads from a compatible input. Examples are: - an array of 1-byte values - strings with character/literal type with size of 1 byte - input streams - container with contiguous storage of 1-byte values. Compatible container types include `std::vector`, `std::string`, `std::array`, `std::valarray`, and `st
| 18298 | @since version 2.0.3 (contiguous containers) |
| 18299 | */ |
| 18300 | static basic_json parse(detail::input_adapter&& i, |
| 18301 | const parser_callback_t cb = nullptr, |
| 18302 | const bool allow_exceptions = true) |
| 18303 | { |
| 18304 | basic_json result; |
| 18305 | parser(i, cb, allow_exceptions).parse(true, result); |
| 18306 | return result; |
| 18307 | } |
| 18308 | |
| 18309 | static bool accept(detail::input_adapter&& i) |
| 18310 | { |
no test coverage detected