COMPAT_META_JSON

Constant COMPAT_META_JSON 

Source
pub const COMPAT_META_JSON: &str = "compat.meta_json";
Expand description

Constructor for JSON encoded metadata.

This is included in the model to allow for compatibility with hugr-core. The intention is to deprecate this in the future in favor of metadata expressed with custom constructors.

  • Parameter: ?name : core.str
  • Parameter: ?json : core.str
  • Result: core.meta