libcluon  0.0.148
JSONConstants.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017-2018 Christian Berger
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  */
8 
9 #ifndef CLUON_JSONCONSTANTS_HPP
10 #define CLUON_JSONCONSTANTS_HPP
11 
12 #include <cstdint>
13 
14 // clang-format off
15 namespace cluon {
16  enum class JSONConstants : uint16_t {
17  IS_FALSE = 0,
18  IS_TRUE = 1,
19  NUMBER = 2,
20  STRING = 3,
21  OBJECT = 4, // Indicating nested types.
22  UNDEFINED = 99,
23  };
24 }
25 // clang-format on
26 
27 #endif
Definition: cluon.hpp:65
JSONConstants
Definition: JSONConstants.hpp:16