Maps a Schema to its plain JavaScript object representation (without ASN.1 wrapper types). For structs with kind-ed fields, metadata fields like '$.kind' are added. For named choices, returns an object with one property matching the choice name.
Maps a Schema to its plain JavaScript object representation (without ASN.1 wrapper types). For structs with kind-ed fields, metadata fields like '$.kind' are added.
For named choices, returns an object with one property matching the choice name.