A helper type that can be used to implement specialisations of VariantConverter that use FromVar::convert and ToVar::convert internally. More...
#include <juce_JSONSerialisation.h>
Static Public Member Functions | |
static Type | fromVar (const var &v) |
static var | toVar (const Type &t) |
A helper type that can be used to implement specialisations of VariantConverter that use FromVar::convert and ToVar::convert internally.
If you've already implemented SerialisationTraits for a specific type, and don't want to write a custom VariantConverter that duplicates that implementation, you can instead write:
|
static |
References FromVar::convert(), and jassert.
|
static |
References ToVar::convert(), and jassert.