Skip to main content

Module csdl

Module csdl 

Source
Expand description

CSDL (ChainCodec Schema Definition Language) parser.

CSDL is a YAML-based DSL for defining blockchain event schemas. This parser converts raw YAML text into chaincodec_core::Schema.

A single .csdl file may contain multiple schema documents separated by ---. Use parse_all() to get every schema, or parse() to get only the first one.

Structs§

CsdlParser