Parser
class Parser
This class allows you to store and retrieve data from files in JSON format using SQL standard.
- The data are described by a json schema in compliance with the spécifications of http://json-schema.org
This schema can be generated on this site: http://jsonschema.net
The API is very similar to PDO
The JSON schema is saved in a file whose name is in the form
.schema.json - The data is saved in a file whose name is in the form
.json
Constants
SQL_SELECT_KEYWORD |
|
SQL_FROM_KEYWORD |
|
SQL_WHERE_KEYWORD |
|
SQL_ORDER_BY_KEYWORD |
|
SQL_LIMIT_KEYWORD |
|
SQL_UPDATE_KEYWORD |
|
SQL_CREATE_KEYWORD |
|
SQL_DELETE_KEYWORD |
|
Properties
protected JsonSQL | $jsonsql | A pointer on the JsonSQL owner. | |
protected Engine | $engine | A pointer on JSON database engine. | |
protected string | $sql | The sql request. |
Methods
void