|
|
std::string | zarr::v3::meta_key (const std::string &path) |
| | Store key of the metadata document for the node at path ("" = root).
|
| |
|
DataType | zarr::v3::parse_data_type (const json &v, const std::string &ctx) |
| | Parses a v3 data_type name. Extension (object) data types are rejected.
|
| |
|
std::optional< Bytes > | zarr::v3::parse_fill (const json &v, DataType dt, const std::string &ctx, bool lenient) |
| | Parses a v3 fill_value, dtype-directed (v3 core "Fill value" table).
|
| |
|
ArrayMeta | zarr::v3::parse_array_meta (const json &j, const std::string &ctx, bool lenient=false) |
| | Parses a v3 array zarr.json document into normalized ArrayMeta.
|
| |
|
GroupMeta | zarr::v3::parse_group_meta (const json &j, const std::string &ctx, bool lenient=false) |
| | Parses a v3 group zarr.json document.
|
| |
|
std::string | zarr::v3::chunk_key (const std::vector< std::uint64_t > &index, char separator) |
| | v3 chunk key relative to the array (v3 core "chunk key encoding").
|
| |
|
std::string | zarr::v3::emit_data_type (DataType dt) |
| | Emits the canonical v3 data_type name.
|
| |
| json | zarr::v3::emit_fill (const std::optional< Bytes > &fill, DataType dt) |
| |
| json | zarr::v3::emit_array_meta (const ArrayMeta &meta) |
| |
|
json | zarr::v3::emit_group_meta (const json &attributes) |
| | Emits canonical v3 group metadata.
|
| |
| void | zarr::v3::consolidate (Store &store) |
| |
Zarr v3 metadata (zarr.json): read-side parsing into normalized ArrayMeta. Strict by the v3.1 core spec (unrecognized members are errors) with an opt-in lenient mode; every deliberate read-tolerance cites its origin.