26#include <vsg/core/Objects.h>
27#include <vsg/io/ReaderWriter.h>
28#include <vsg/io/mem_stream.h>
34 class VSG_DECLSPEC json :
public Inherit<ReaderWriter, json>
45 bool supportedExtension(
const Path& ext)
const;
json ReaderWriter
Definition json.h:35
ref_ptr< Object > read(const Path &, ref_ptr< const Options >) const override
read object from file, return object on success, return null ref_ptr<> if format not supported,...
bool getFeatures(Features &features) const override
get the Features supported by this ReaderWriter
ref_ptr< Object > read(std::istream &, ref_ptr< const Options >) const override
read object from input stream, return object on success, return null ref_ptr<> if format not supporte...
ref_ptr< Object > read(const uint8_t *ptr, size_t size, ref_ptr< const Options > options={}) const override
read object from memory block, return object on success, return null ref_ptr<> if format not supporte...
Definition ReaderWriter.h:92