3#include <CesiumJsonReader/JsonHandler.h>
4#include <CesiumJsonReader/Library.h>
12class CESIUMJSONREADER_API StringJsonHandler :
public JsonHandler {
14 StringJsonHandler()
noexcept;
29 std::
string* _pString =
nullptr;
Base interface for all JSON handlers. Types that need to be deserialized from JSON should implement I...
void reset(IJsonHandler *pParent, std::string *pString)
Resets the parent IJsonHandler of this handler, and the pointer to its destination string value.
std::string * getObject() noexcept
Obtains the pointer to the current destination string value of this handler.
virtual IJsonHandler * readString(const std::string_view &str) override
Called when the JSON parser encounters a string value.
Classes for reading JSON.