Hot answers tagged

2 votes

Loading specific Datum JSON with Map structure into Plutus type

You could define a union type for values, something like data Val = B BuiltinByteString | M (AssocMap BuiltinByteString Val) type OrcFax = AssocMap BuiltinByteString Val then you can deserialise ...
insitu's user avatar
  • 224

Only top scored, non community-wiki answers of a minimum length are eligible