polars.Expr.from_json#

classmethod Expr.from_json(value: str) Expr[source]#

Read an expression from a JSON encoded string to construct an Expression.

Deprecated since version 0.20.11: This method has been renamed to deserialize(). Note that the new method operates on file-like inputs rather than strings. Enclose your input in io.StringIO to keep the same behavior.

Parameters:
value

JSON encoded string value