AnCH Framework 0.2
Another C++ Hack: C++23 utility libraries
Loading...
Searching...
No Matches
anch::json::Factory< T > Class Template Reference

JSON mapper factory. More...

#include <factory.hpp>

Collaboration diagram for anch::json::Factory< T >:

Static Public Member Functions

static const auto & getInstance ()

Detailed Description

template<typename T>
class anch::json::Factory< T >

JSON mapper factory.

Each JSON mapper will have only one instance.

Template Parameters
Tthe object type
Author
Vincent Lachenal
Since
0.1

Member Function Documentation

◆ getInstance()

template<typename T>
const auto & anch::json::Factory< T >::getInstance ( )
static

Get JSON mapper unique instance

Returns
the JSONMapper or the PrimitiveMapper unique instance according to type (constant: fields are registered once, when the mapper is built from the description of the type)

The documentation for this class was generated from the following file: