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

Raw deserialization of a .zattrs file (Zarr v2). This is freeform JSON — OME-Zarr metadata lives here. We just parse it as a raw JsonElement and pass to OmeAttributesParser. More...

Static Public Member Functions

static ZarrV2AttrsDocument Parse (string json)
 
static ZarrV2AttrsDocument Parse (byte[] utf8Json)
 

Properties

JsonElement Root [get]
 

Detailed Description

Raw deserialization of a .zattrs file (Zarr v2). This is freeform JSON — OME-Zarr metadata lives here. We just parse it as a raw JsonElement and pass to OmeAttributesParser.

Member Function Documentation

◆ Parse() [1/2]

static ZarrV2AttrsDocument ZarrNET.ZarrV2AttrsDocument.Parse ( byte[] utf8Json)
static
152 {
153 var root = JsonSerializer.Deserialize<JsonElement>(utf8Json);
154 return new ZarrV2AttrsDocument { Root = root };
155 }

◆ Parse() [2/2]

static ZarrV2AttrsDocument ZarrNET.ZarrV2AttrsDocument.Parse ( string json)
static
146 {
147 var root = JsonSerializer.Deserialize<JsonElement>(json);
148 return new ZarrV2AttrsDocument { Root = root };
149 }

Property Documentation

◆ Root

JsonElement ZarrNET.ZarrV2AttrsDocument.Root
get
143{ get; init; }

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