titus.reader.jsonToExpressionAst

titus.reader.jsonToExpressionAst(jsonInput, where='')[source]

Parse a PFA expression as a PFA abstract syntax tree.

Parameters:x (open JSON file, JSON string, or Pythonized JSON) – PFA expressions in a JSON array
Return type:titus.pfaast.Expression
Returns:parsed expression as a single abstract syntax tree