VariantMap

The VariantMap class is a Map of a String to a Variant. Think of this as a container to store key-value pair of arbitrary data. This is used to hold data before converting it to JSON for sending over the network.

// DEFINITION
typedef Map<String, Variant> VariantMap;

The methods below are implemented in the Variant class, so you can use them update a Variant.