MIRA
Static Public Member Functions | List of all members
ReflectCollectionCount< JSONSerializer, Collection > Struct Template Reference

Specialization for JSONSerializer which does not write the item count explicitly. More...

#include <serialization/JSONSerializer.h>

Static Public Member Functions

static void reflect (JSONSerializer &r, uint32 &ioCount)
 

Detailed Description

template<typename Collection>
struct mira::serialization::ReflectCollectionCount< JSONSerializer, Collection >

Specialization for JSONSerializer which does not write the item count explicitly.

The deserializer will count the item nodes in the parent node to recover the item count, which is much more user friendly, since the user does not need to provide the count himself.

Member Function Documentation

◆ reflect()

static void reflect ( JSONSerializer r,
uint32 &  ioCount 
)
inlinestatic

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