Zarr.NET  0.6.1
Zarr reader and writer in .NET
Loading...
Searching...
No Matches
ZarrNET.ZarrGroupMetadata Class Referencesealed

Typed metadata for a Zarr v3 group node. Groups are pure containers — no data, no shape, just attributes and children. More...

Static Public Member Functions

static ZarrGroupMetadata FromDocument (ZarrJsonDocument doc)
 
static ZarrGroupMetadata FromV2Document (JsonElement? attributes)
 

Properties

JsonElement? RawAttributes [get]
 

Detailed Description

Typed metadata for a Zarr v3 group node. Groups are pure containers — no data, no shape, just attributes and children.

Member Function Documentation

◆ FromDocument()

static ZarrGroupMetadata ZarrNET.ZarrGroupMetadata.FromDocument ( ZarrJsonDocument doc)
static
171 {
172 if (doc.NodeType != "group")
173 throw new InvalidOperationException(
174 $"Expected node_type 'group', got '{doc.NodeType}'.");
175
176 return new ZarrGroupMetadata(doc.Attributes);
177 }
Typed metadata for a Zarr v3 group node. Groups are pure containers — no data, no shape,...
Definition ZarrNodeMetadata.cs:162
JsonElement? Attributes
Freeform attributes — this is where OME-Zarr metadata lives. Kept as a raw JsonElement so the OME lay...
Definition ZarrJsonDocument.cs:48

◆ FromV2Document()

static ZarrGroupMetadata ZarrNET.ZarrGroupMetadata.FromV2Document ( JsonElement? attributes)
static
180 {
181 return new ZarrGroupMetadata(attributes);
182 }

Property Documentation

◆ RawAttributes

JsonElement? ZarrNET.ZarrGroupMetadata.RawAttributes
get
163{ get; }

The documentation for this class was generated from the following file: