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