setData() sets the raw data of the field, which is always a string. More specific methods along with validation can be offered by the field handler implementation class.
Optional
doValidation: booleanIf not specified, the default is false (no validation)
Generated using TypeDoc
getData() returns a string representing the data in the database. It may be a JSON object, in which case use JSON.parse() to manipulate it. It may also be undefined, which means the field was never set in the database.