newdatabasewithjson
JSONFILE
The newdatabasewithjson statement creates a new database using a JSON file.
Parameters
This statement has one parameter:
jsonfile – path and name of JSON file, or “” to ask user.
Description
This statement creates a new database from data in a JSON file. Here is an example that creates a new database from a file named Mailing List.json.
newdatabasewithjson "~/Dropbox/MailingList.json"
Note: This statement is used by the File>New>New Database from JSON File menu command.
See Also
- databaseexportjson -- exports selected records in the current database in JSON format to a text file.
- 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
- tsvtojson( -- converts tab separated text into JSON formatted text.
History
10.0 | New | New in this version. |