API reference
python:astx:astx.AST.to_json
method to_json
to_json(simplified: bool = False) -> str
Source: packages/astx/src/astx/base.py:413
Declared as: python:astx:astx.base.AST.to_json
Return an json string that represents the object.
Parameters
- simplified — Type: bool
Returns
Type: str