titus.reader.jsonToAst

titus.reader.jsonToAst(jsonInput)[source]

Reads PFA from serialized JSON into an abstract syntax tree.

Parameters:jsonInput (open JSON file, JSON string, or Pythonized JSON) – input JSON
Return type:titus.pfaast.EngineConfig
Returns:a PFA configuration that has passed syntax but not semantics checks