Convert the attribute value to a JSON document (json encoding).
#include <qpps/variant.h> QJsonDocument toJson( QJsonParseError *error = 0 ) const;
Convert the attribute value to a JSON document (json encoding).
A QJsonDocument containing the attribute's value.