carb::dictionary::fSerializerOptionEmptyDictionaryIsArray
Defined in carb/dictionary/ISerializer.h
-
constexpr SerializerOptions carb::dictionary::fSerializerOptionEmptyDictionaryIsArray = (1 << 2)
Flag to indicate that if an empty dictionary item is found while walking the dictionary that is being serialized, it should be represented by an empty array.
If this flag is not used, the default behavior is to write out the empty dictionary item as an empty object. This flag may be used for both the JSON and TOML serializer plugins.