• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# basic_json::input_format_t
2
3```cpp
4enum class input_format_t {
5    json,
6    cbor,
7    msgpack,
8    ubjson,
9    bson
10};
11```
12
13This enumeration is used in the [`sax_parse`](sax_parse.md) function to choose the input format to parse:
14
15json
16:   JSON (JavaScript Object Notation)
17
18cbor
19:   CBOR (Concise Binary Object Representation)
20
21msgpack
22:   MessagePack
23
24ubjson
25:   UBJSON (Universal Binary JSON)
26
27bson
28:   BSON (Bin­ary JSON)
29
30## Version history
31
32- Added in version 3.2.0.
33