Skip to main content

Module codama

Module codama 

Source
Expand description

§Codama Projection Module

JSON formatting for the three-tier schema export:

ProgramManifest  ⊃  ProgramIdl  ⊃  CodamaProjection
      (rich)         (public)         (interop)

All formatters use core::fmt::Write so they work in #![no_std].

Structs§

CodamaJson
Wrapper for JSON formatting of CodamaProjection.
CodamaJsonFromManifest
Projects a ProgramManifest to Codama-level JSON (interop subset).
IdlJson
Wrapper for JSON formatting of ProgramIdl.
IdlJsonFromManifest
Projects a ProgramManifest to IDL-level JSON (public schema subset).
ManifestJson
Wrapper for JSON formatting of ProgramManifest.