Zserio C++ runtime library  1.2.0
Built for Zserio 2.16.0
JsonTokenizer.cpp
Go to the documentation of this file.
1 #include "zserio/JsonTokenizer.h"
2 
3 namespace zserio
4 {
5 
7 {
8  switch (token)
9  {
10  case JsonToken::UNKNOWN:
11  return exception << "UNKNOWN";
13  return exception << "BEGIN_OF_FILE";
15  return exception << "END_OF_FILE";
17  return exception << "BEGIN_OBJECT";
19  return exception << "END_OBJECT";
21  return exception << "BEGIN_ARRAY";
23  return exception << "END_ARRAY";
25  return exception << "KEY_SEPARATOR";
27  return exception << "ITEM_SEPARATOR";
28  default: // VALUE
29  return exception << "VALUE";
30  }
31 }
32 
33 } // namespace zserio
CppRuntimeException & operator<<(CppRuntimeException &exception, const BasicBitBuffer< ALLOC > &bitBuffer)
Definition: BitBuffer.h:455