module

D4::SecondaryMetadataParser

Parses the schema shared by reading and index construction. Keep the optional compression field compatible with d4-format's serde default, while treating missing required fields or wrongly typed values as corrupt D4 data rather than leaking JSON implementation exceptions.

Class methods

parse(data : Bytes) : SecondaryMetadata
Source