How JsonBase Works
JsonBase allows you to create, modify, and manage registers with dynamic columns and records. You can also import and export registers as JSON files.
JSON File Structure
The JSON files used by this application should have the following structure:
.json
{
"columns": {
"names": ["column1", "column2", ...],
"types": ["text", "number", ...]
},
"records": [
{
"column1": "value1",
"column2": "value2",
...
},
...
]
}
Each register consists of columns and records:
- columns.names: An array of column names.
- columns.types: An array of column types (e.g., text, number, date, etc.).
- records: An array of objects, where each object represents a record with key-value pairs corresponding to the column names and their values.
Ensure that the JSON file follows this structure to be correctly imported and used by the application.