databaseexportjson
databaseexportjson
JSONFILE

The databaseexportjson statement exports selected records in the current database in JSON format to a text file.

Parameters

This statement has one parameter:

jsonfile – path and name of JSON file, or "" to ask user.

Description

This statement exports selected records in the current database in JSON format to a text file. Here is an example that exports the selected records to a file named Mailing List.json.

    databaseexportjson "~/Dropbox/MailingList.json"

Note: This statement is used by the File>Export>JSON menu command.

See Also

- exportjson -- exports the current database in JSON format.
- 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.