This class is responsible for the data object marshalling.
More...
#include <JsonSerializer.h>
|
template<int INDENT = -1> |
static std::string | toJson (const T &obj) |
| Serializes given object to std::string Json representation. More...
|
|
template<typename T>
class virgil::sdk::serialization::JsonSerializer< T >
This class is responsible for the data object marshalling.
- Note
- Supported classes: CreateCardSnapshotModel, RevokeCardSnapshotModel, SearchCardsCriteria, SignableRequestInterface
- Template Parameters
-
T | represents class to be serialized |
template<typename T >
template<int INDENT = -1>
Serializes given object to std::string Json representation.
- Template Parameters
-
INDENT | if > 0 - pretty print, 0 - only new lines, -1 - compact |
- Parameters
-
obj | object to be serialized |
- Returns
- std::string json representation of the object
The documentation for this class was generated from the following file: