blob: ef219ce0870b4a0b9a88151647d6fde300f8aea7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
// Copyright 2013 Daniel Parker
// Distributed under the Boost license, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// See https://github.com/danielaparker/jsoncons for latest version
#ifndef JSONCONS_UBJSON_UBJSON_TYPE_HPP
#define JSONCONS_UBJSON_UBJSON_TYPE_HPP
#include <string>
#include <memory>
#include <jsoncons/config/jsoncons_config.hpp>
namespace jsoncons { namespace ubjson {
namespace ubjson_type
{
const uint8_t null_type = 'Z';
const uint8_t no_op_type = 'N';
const uint8_t true_type = 'T';
const uint8_t false_type = 'F';
const uint8_t int8_type = 'i';
const uint8_t uint8_type = 'U';
const uint8_t int16_type = 'I';
const uint8_t int32_type = 'l';
const uint8_t int64_type = 'L';
const uint8_t float32_type = 'd';
const uint8_t float64_type = 'D';
const uint8_t high_precision_number_type = 'H';
const uint8_t char_type = 'C';
const uint8_t string_type = 'S';
const uint8_t start_array_marker = '[';
const uint8_t end_array_marker = ']';
const uint8_t start_object_marker = '{';
const uint8_t end_object_marker = '}';
const uint8_t type_marker = '$';
const uint8_t count_marker = '#';
}
} // namespace ubjson
} // namespace jsoncons
#endif
|