CheckExpression method
Overview
Checks if a given expression is valid.
Parameters
Name | Description | Type |
---|---|---|
qExpr | Expression to check. | String |
qLabels |
List of labels. This parameter is optional. |
Array of String |
Outputs
The following is returned in the output:
{
"jsonrpc": "2.0",
"id": 2,
"result": {
"qErrorMsg": "<message displayed when there is a syntax error>",
"qBadFieldNames": [
{
"qFrom": <position in the expression of the first character of the field name>,
"qCount": <number of characters of the field name>
}
],
"qDangerousFieldNames": []
}
}
Information noteThe expression is correct if the parameters qErrorMsg, qBadFieldNames and qDangerousFieldNames are empty.