#include <json_datapack.h>
|
| template<typename PackType > |
| static std::size_t | size (const PackType &pack, const std::string &item) |
| |
| template<typename PackType > |
| static void | to_datapack (PackType &pack, const std::string &item) |
| |
| template<typename PackType > |
| static std::string | from_datapack (const PackType &pack) |
| |
template<typename JsonType>
struct fpmas::io::datapack::BasicJsonSerializer< std::string, JsonType >
std::string BasicJsonSerializer specialization.
This is implicitly used by the generic BasicJsonSerializer defined above to write dumped json strings to a BasicObjectPack.
◆ size()
template<typename JsonType >
template<typename PackType >
Returns the size required to serialize the json string item to pack.
◆ to_datapack()
template<typename JsonType >
template<typename PackType >
◆ from_datapack()
template<typename JsonType >
template<typename PackType >
Unserializes a json string from pack using the default SeriSerializer<std::string> specialization.
- Parameters
-
- Returns
- unserialized json string
The documentation for this struct was generated from the following file: