Zserio C++ runtime library  1.3.0
Built for Zserio 2.18.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  case JsonToken::VALUE:
29  default:
30  return exception << "VALUE";
31  }
32 }
33 
34 } // namespace zserio
CppRuntimeException & operator<<(CppRuntimeException &exception, const BasicBitBuffer< ALLOC > &bitBuffer)
Definition: BitBuffer.h:454