Lines Matching defs:format

84     explicit binary_reader(InputAdapterType&& adapter, const input_format_t format = input_format_t::json) noexcept : ia(std::move(adapter)), input_format(format)
97 @param[in] format the binary format to parse
105 bool sax_parse(const input_format_t format,
113 switch (format)
2168 if (!dim.empty()) // if ndarray, convert to an object in JData annotated array format
2224 In the optimized UBJSON format, a type and a size can be provided to allow
2490 // if bit-8 of size_and_type.second is set to 1, encode bjdata ndarray as an object in JData annotated array format (https://github.com/NeuroJSON/jdata):
2603 exception_message(input_format, "BJData object does not support ND-array size in optimized format", "object"), nullptr));
2776 @param[in] format the current format (for diagnostics)
2788 bool get_number(const input_format_t format, NumberType& result)
2795 if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(format, "number")))
2801 if (is_little_endian != (InputIsLittleEndian || format == input_format_t::bjdata))
2820 @param[in] format the current format (for diagnostics)
2831 bool get_string(const input_format_t format,
2839 if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(format, "string")))
2853 @param[in] format the current format (for diagnostics)
2864 bool get_binary(const input_format_t format,
2872 if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(format, "binary")))
2883 @param[in] format the current format (for diagnostics)
2888 bool unexpect_eof(const input_format_t format, const char* context) const
2893 parse_error::create(110, chars_read, exception_message(format, "unexpected end of input", context), nullptr));
2909 @param[in] format the current format
2914 std::string exception_message(const input_format_t format,
2920 switch (format)
2965 /// input format