New Import & Export JSON functions

The following functions are added to import/export a single data row between a JSON string and a DataWindow control, DataStore object, or DataWindowChild object:

  • ImportRowFromJson: Inserts a data row from a JSON string into a DataWindow control, DataStore object, or DataWindowChild object.

    ImportRowFromJson( string json, long row {, ref string error} {, DWBuffer dwbuffer})
  • ExportRowAsJson: Exports a data row from a DataWindow control, DataStore object, or DataWindowChild object to the JSON string.

    ExportRowAsJson (long row {, DWBuffer dwbuffer})

For more information, see the section called “ImportRowFromJson” in DataWindow Reference and the section called “ExportRowAsJson” in DataWindow Reference.