4#include <nlohmann/json.hpp>
17 using Resource::Resource;
Resource type representing a parsed JSON document.
Definition Json.h:15
nlohmann::json Data
Parsed JSON document.
Definition Json.h:35
Json()
Default-constructs an empty Json resource.
size_t DataSize
Size in bytes of the original serialized JSON string.
Definition Json.h:37
void * GetPointer() override
Returns a pointer to the nlohmann::json data object.
size_t GetPointerSize() override
Returns the size of the serialized JSON data in bytes.
Typed resource base class that provides a strongly-typed pointer accessor.
Definition Resource.h:73
Core namespace for the libultraship engine framework.
Definition gfx_direct3d_common.h:14