exportjson
exportjson
DESTINATION

The exportjson statement exports the current database in JSON format.

Parameters

This statement has one parameter:

destination – field or variable to receive JSON formatted text.

Description

This statement exports the current database in JSON format. This example displays the database contents as JSON.

    local jsonData
    exportjson jsonData
    displaydata jsonData

See Also

- databaseexportjson -- exports selected records in the current database in JSON format to a text file.
- importjson -- imports a JSON array into the current database.
- importjsonline -- imports a JSON record into the current record.
- jsonexport( -- converts a Panorama dictionary or data array into JSON.
- jsonexportline( -- exports the current database record in JSON format.
- jsonimport( -- converts JSON into a Panorama dictionary or data array.
- jsonscriptstring( -- converts text into a JSON string literal
- newdatabasewithjson -- creates a new database using a JSON file.
- tsvtojson( -- converts tab separated text into JSON formatted text.

History

Version | Status | Notes
10.0 | New | New in this version.