polars.Expr.meta.write_json#

Expr.meta.write_json(file: IOBase | str | Path | None = None) str | None[source]#

Write expression to json.

Deprecated since version 0.20.11: This method has been renamed to serialize().