conditionToJSON(condition: Condition): string | any[]
Converts a condition to JSON.
condition: Condition
A JSON representation of a condition.
Converts a condition to JSON.