2 #include <score/application/ApplicationComponents.hpp>
3 #include <score/model/EntityList.hpp>
4 #include <score/model/EntityMap.hpp>
5 #include <score/plugins/SerializableHelpers.hpp>
7 #include <score/serialization/JSONVisitor.hpp>
15 s.m_stream << (int32_t)obj.size();
16 for(
const auto& child : obj)
20 template <
typename List,
typename T>
27 auto& pl = s.components.template interfaces<List>();
30 auto proc = deserialize_interface(pl, s, ctx, parent);
41 s.stream.StartArray();
42 for(
const auto& elt : vec)
46 template <
typename List,
typename T>
51 auto& pl = s.components.interfaces<List>();
53 const auto& array = s.base.GetArray();
54 for(
const auto& json_vref : array)
57 auto proc = deserialize_interface(pl, deserializer, ctx, parent);
66 template <
typename T,
bool O>
71 template <
typename T,
bool O>
Definition: VisitorInterface.hpp:53
Definition: DataStreamVisitor.hpp:27
Definition: DataStreamVisitor.hpp:202
Definition: VisitorInterface.hpp:61
Definition: JSONVisitor.hpp:52
Definition: JSONVisitor.hpp:423
Base toolkit upon which the software is built.
Definition: Application.cpp:90
Definition: EntityMapSerialization.hpp:10
Definition: VisitorInterface.hpp:13
Definition: DocumentContext.hpp:18