JuliaIO / Zarr.jl

Other
119 stars 24 forks source link

Add indents for JSON files for readbility #167

Open calvinchai opened 2 days ago

calvinchai commented 2 days ago

The library writes json files minimized which is difficult to read. e.g.

{"dtype":"<u1","filters":null,"shape":[348],"order":"C","zarr_format":2,"chunks":[348],"fill_value":null,"compressor":null}

Added indents for readability.

{
    "dtype": "<u1",
    "filters": null,
    "shape": [
        348
    ],
    "order": "C",
    "zarr_format": 2,
    "chunks": [
        348
    ],
    "fill_value": null,
    "compressor": null
}