OpenShot Audio Library | OpenShotAudio  0.6.0
juce::StrictVariantConverter< Type > Struct Template Reference

#include <juce_JSONSerialisation.h>

Static Public Member Functions

static Type fromVar (const var &v)
 
static var toVar (const Type &t)
 

Detailed Description

template<typename Type>
struct juce::StrictVariantConverter< Type >

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:

Definition at line 515 of file juce_JSONSerialisation.h.


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