Serializes a VariantArray or VariantMap as JSON and returns it in a String object.
String
// PROTOTYPE String toJSON() const;