docs/user-guide/io/json_file.md
Reading a JSON file should look familiar:
{{code_block('user-guide/io/json-file','read',['read_json'])}}
JSON objects that are delimited by newlines can be read into polars in a much more performant way than standard json.
{{code_block('user-guide/io/json-file','readnd',['read_ndjson'])}}
{{code_block('user-guide/io/json-file','write',['write_json','write_ndjson'])}}
Polars allows you to scan a JSON input only for newline delimited json. Scanning delays the actual parsing of the
file and instead returns a lazy computation holder called a LazyFrame.
{{code_block('user-guide/io/json-file','scan',['scan_ndjson'])}}