This is an easy way to store the content of any MQTT message. The c-treeDB API can index and process the JSON contents of this field. The c-tree SQL engine cannot query the contents of the JSON field.
"AlterPersistenceTopic" resets the mapping of JSON properties to table fields.
"AlterPersistenceTopic" can add new fields to the table.
"AlterPersistenceTopic" can rename fields and change field types according to the rules of Hot Alter Table.
Each object in the "mapOfPropertiesToFields" array describes the characteristics of a JSON property and the characteristics of the table field to which it is mapped. There should be one mapping object for each JSON property that you want to map to a field. There can be fewer mapping objects than fields in the table. The message handler will insert NULL values into non-mapped fields. If there are no mapping objects, the message handler cannot insert data into the table.