Skip to content

# nlohmann::basic_json::input_format_t

    enum class input_format_t {
        json,
        cbor,
        msgpack,
        ubjson,
        bson
    };

This enumeration is used in the `sax_parse` function to choose the input format to parse:

json
  JSON (JavaScript Object Notation)
cbor
  CBOR (Concise Binary Object Representation)
msgpack
  MessagePack
ubjson
  UBJSON (Universal Binary JSON)
bson
  BSON (Binary JSON)

## Version history

- Added in version 3.2.0.

Back to top