31#include "json/readerContext.hpp"
32#include "json/writerContext.hpp"
48 template<
typename M,
typename T>
175 const std::optional<T>& value,
188 const T*
const value,
201 const std::shared_ptr<T>& value,
214 const std::vector<T>& value,
227 const std::list<T>& value,
240 const std::set<T>& value,
253 const std::map<std::string,T>& value,
345#include "json/impl/genericMapper.hpp"
Manage collection as stream.
Definition flux.hpp:50
GenericMapper(GenericMapper< M, T > &&other)=delete
void serialize(const std::list< T > &value, anch::json::WriterContext &context) const
GenericMapper(const GenericMapper< M, T > &other)=delete
bool deserialize(std::list< T > &value, anch::json::ReaderContext &context) const
bool deserialize(std::vector< T > &value, anch::json::ReaderContext &context) const
bool serialize(const std::string &field, const std::shared_ptr< T > &value, anch::json::WriterContext &context) const
bool deserialize(std::map< std::string, T > &value, anch::json::ReaderContext &context) const
void serialize(const T *const value, anch::json::WriterContext &context) const
bool deserialize(T &value, anch::json::ReaderContext &context) const
bool deserialize(T *value, anch::json::ReaderContext &context) const
void serialize(const std::shared_ptr< T > &value, anch::json::WriterContext &context) const
bool deserialize(std::shared_ptr< T > &value, anch::json::ReaderContext &context) const
bool serialize(const std::string &field, const std::vector< T > &value, anch::json::WriterContext &context) const
void serialize(const std::optional< T > &value, anch::json::WriterContext &context) const
bool serialize(const std::string &field, const std::set< T > &value, anch::json::WriterContext &context) const
void serialize(const std::vector< T > &value, anch::json::WriterContext &context) const
bool serialize(const std::string &field, const std::map< std::string, T > &value, anch::json::WriterContext &context) const
bool deserialize(std::optional< T > &value, anch::json::ReaderContext &context) const
bool deserialize(anch::Flux< T > &value, anch::json::ReaderContext &context) const
bool deserialize(std::set< T > &value, anch::json::ReaderContext &context) const
void serialize(const std::map< std::string, T > &value, anch::json::WriterContext &context) const
void serialize(const T &value, anch::json::WriterContext &context) const
bool serialize(const std::string &field, const T *const value, anch::json::WriterContext &context) const
bool serialize(const std::string &field, const std::list< T > &value, anch::json::WriterContext &context) const
bool serialize(const std::string &field, const std::optional< T > &value, anch::json::WriterContext &context) const
bool serialize(const std::string &field, const T &value, anch::json::WriterContext &context) const
void serialize(const std::set< T > &value, anch::json::WriterContext &context) const
JSON reader context.
Definition readerContext.hpp:42
JSON writer context.
Definition writerContext.hpp:41
JSON namespace.
Definition constants.hpp:25