cesium-native  0.41.0
StringJsonHandler.h
1 #pragma once
2 
3 #include "JsonHandler.h"
4 #include "Library.h"
5 
6 #include <string>
7 
8 namespace CesiumJsonReader {
9 class CESIUMJSONREADER_API StringJsonHandler : public JsonHandler {
10 public:
11  StringJsonHandler() noexcept;
12  void reset(IJsonHandler* pParent, std::string* pString);
13  std::string* getObject() noexcept;
14  virtual IJsonHandler* readString(const std::string_view& str) override;
15 
16 private:
17  std::string* _pString = nullptr;
18 };
19 } // namespace CesiumJsonReader
Classes for reading JSON.