polars.LazyFrame.read_json#

classmethod LazyFrame.read_json(source: str | Path | IOBase) Self[source]#

Read a logical plan from a JSON file to construct a LazyFrame.

Deprecated since version 0.18.12: This class method has been renamed to deserialize.

Parameters:
source

Path to a file or a file-like object (by file-like object, we refer to objects that have a read() method, such as a file handler (e.g. via builtin open function) or BytesIO).

See also

deserialize