- LazyFrame.write_json(file: None = None) str #
- LazyFrame.write_json(file: IOBase | str | Path) None
Serialize the logical plan of this LazyFrame to a file or string in JSON format.
Deprecated since version 0.18.12: This method has been renamed to
File path to which the result should be written. If set to
None(default), the output is returned as a string instead.