3 #include <score/serialization/JSONVisitor.hpp>
28 if constexpr(is_custom_serialized<T>::value)
37 if constexpr(is_custom_serialized<T>::value)
43 template <
typename TheClass>
46 if(vis.identifier == DataStream::type())
51 else if(vis.identifier == JSONObject::type())
60 template <
typename TheClass>
63 switch(vis.identifier)
65 case DataStream::type(): {
69 case JSONObject::type(): {
80 template <
typename TheClass>
85 switch(vis.identifier)
87 case DataStream::type(): {
91 case JSONObject::type(): {
101 template <
typename Functor>
104 switch(vis.identifier)
106 case DataStream::type(): {
110 case JSONObject::type(): {
128 template <
typename Type,
typename Object>
134 template <
typename Object>
135 auto unmarshall(
const rapidjson::Value& obj)
143 template <
typename Object>
144 auto unmarshall(
const QByteArray& arr)
146 return DataStreamWriter::unmarshall<Object>(arr);
Definition: DataStreamVisitor.hpp:27
Definition: DataStreamVisitor.hpp:202
Definition: JSONVisitor.hpp:52
Definition: JSONVisitor.hpp:423
Base toolkit upon which the software is built.
Definition: Application.cpp:90
auto marshall(const Object &obj)
marshall Serializes a single object
Definition: VisitorCommon.hpp:129
Definition: VisitorInterface.hpp:13
The VisitorVariant struct.
Definition: VisitorInterface.hpp:26