Lines Matching refs:strict
9173 @param[in] strict whether to expect the input to be consumed completed
9181 const bool strict = true,
9211 // strict mode: next byte must be EOF
9212 if (result && strict)
12184 @param[in] strict whether to expect the last token to be EOF
12191 void parse(const bool strict, BasicJsonType& result)
12198 // in strict mode, input must be completely read
12199 if (strict && (get_token() != token_type::end_of_input))
12226 // in strict mode, input must be completely read
12227 if (strict && (get_token() != token_type::end_of_input))
12248 @param[in] strict whether to expect the last token to be EOF
12251 bool accept(const bool strict = true)
12254 return sax_parse(&sax_acceptor, strict);
12259 bool sax_parse(SAX* sax, const bool strict = true)
12264 // strict mode: next byte must be EOF
12265 if (result && strict && (get_token() != token_type::end_of_input))
17929 strict, ///< throw a type_error exception in case of invalid UTF-8
17952 error_handler_t error_handler_ = error_handler_t::strict)
18395 case error_handler_t::strict:
18487 case error_handler_t::strict:
20440 const error_handler_t error_handler = error_handler_t::strict) const
23255 const bool strict = true,
23260 ? parser(std::move(ia), nullptr, true, ignore_comments).sax_parse(sax, strict)
23261 : detail::binary_reader<basic_json, decltype(ia), SAX>(std::move(ia), format).sax_parse(format, sax, strict);
23270 const bool strict = true,
23275 ? parser(std::move(ia), nullptr, true, ignore_comments).sax_parse(sax, strict)
23276 : detail::binary_reader<basic_json, decltype(ia), SAX>(std::move(ia), format).sax_parse(format, sax, strict);
23289 const bool strict = true,
23295 ? parser(std::move(ia), nullptr, true, ignore_comments).sax_parse(sax, strict)
23297 : detail::binary_reader<basic_json, decltype(ia), SAX>(std::move(ia), format).sax_parse(format, sax, strict);
23508 const bool strict = true,
23515 const bool res = binary_reader<decltype(ia)>(std::move(ia), input_format_t::cbor).sax_parse(input_format_t::cbor, &sdp, strict, tag_handler);
23524 const bool strict = true,
23531 const bool res = binary_reader<decltype(ia)>(std::move(ia), input_format_t::cbor).sax_parse(input_format_t::cbor, &sdp, strict, tag_handler);
23539 const bool strict = true,
23543 return from_cbor(ptr, ptr + len, strict, allow_exceptions, tag_handler);
23550 const bool strict = true,
23558 const bool res = binary_reader<decltype(ia)>(std::move(ia), input_format_t::cbor).sax_parse(input_format_t::cbor, &sdp, strict, tag_handler);
23567 const bool strict = true,
23573 const bool res = binary_reader<decltype(ia)>(std::move(ia), input_format_t::msgpack).sax_parse(input_format_t::msgpack, &sdp, strict);
23582 const bool strict = true,
23588 const bool res = binary_reader<decltype(ia)>(std::move(ia), input_format_t::msgpack).sax_parse(input_format_t::msgpack, &sdp, strict);
23596 const bool strict = true,
23599 return from_msgpack(ptr, ptr + len, strict, allow_exceptions);
23605 const bool strict = true,
23612 const bool res = binary_reader<decltype(ia)>(std::move(ia), input_format_t::msgpack).sax_parse(input_format_t::msgpack, &sdp, strict);
23621 const bool strict = true,
23627 const bool res = binary_reader<decltype(ia)>(std::move(ia), input_format_t::ubjson).sax_parse(input_format_t::ubjson, &sdp, strict);
23636 const bool strict = true,
23642 const bool res = binary_reader<decltype(ia)>(std::move(ia), input_format_t::ubjson).sax_parse(input_format_t::ubjson, &sdp, strict);
23650 const bool strict = true,
23653 return from_ubjson(ptr, ptr + len, strict, allow_exceptions);
23659 const bool strict = true,
23666 const bool res = binary_reader<decltype(ia)>(std::move(ia), input_format_t::ubjson).sax_parse(input_format_t::ubjson, &sdp, strict);
23676 const bool strict = true,
23682 const bool res = binary_reader<decltype(ia)>(std::move(ia), input_format_t::bjdata).sax_parse(input_format_t::bjdata, &sdp, strict);
23691 const bool strict = true,
23697 const bool res = binary_reader<decltype(ia)>(std::move(ia), input_format_t::bjdata).sax_parse(input_format_t::bjdata, &sdp, strict);
23706 const bool strict = true,
23712 const bool res = binary_reader<decltype(ia)>(std::move(ia), input_format_t::bson).sax_parse(input_format_t::bson, &sdp, strict);
23721 const bool strict = true,
23727 const bool res = binary_reader<decltype(ia)>(std::move(ia), input_format_t::bson).sax_parse(input_format_t::bson, &sdp, strict);
23735 const bool strict = true,
23738 return from_bson(ptr, ptr + len, strict, allow_exceptions);
23744 const bool strict = true,
23751 const bool res = binary_reader<decltype(ia)>(std::move(ia), input_format_t::bson).sax_parse(input_format_t::bson, &sdp, strict);