module D4::SecondaryMetadataParser

Overview

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.

Defined in:

d4/track.cr

Class Method Summary

Class Method Detail

def self.parse(data : Bytes) : SecondaryMetadata #

[View source]