MIRA
Static Public Member Functions | List of all members
ReflectCollectionCount< JSONDeserializer, MapType< std::string, T > > Struct Template Reference

If Collection has 2 (or more, defaulted) template parameters, where the first one is std::string, check if the second one matches a type definition for 'mapped_type'. More...

#include <serialization/JSONSerializer.h>

Inheritance diagram for ReflectCollectionCount< JSONDeserializer, MapType< std::string, T > >:
Inheritance graph
[legend]

Static Public Member Functions

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

Detailed Description

template<template< typename U, typename V > class MapType, typename T>
struct mira::serialization::ReflectCollectionCount< JSONDeserializer, MapType< std::string, T > >

If Collection has 2 (or more, defaulted) template parameters, where the first one is std::string, check if the second one matches a type definition for 'mapped_type'.

In that case, the content may be encoded as object rather than as collection of pairs.

Member Function Documentation

◆ reflect()

static void reflect ( JSONDeserializer r,
uint32 ioCount 
)
inlinestaticinherited

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