Open clehner opened 2 years ago
It's not unexpected that to/from JSON would be useful in many cases, I'm not against it, it's just not explicitly mentioned by the spec (it's to/from defined for IPLD, which always has a valid JSON rep)
I am also interested in JSON representation as we are using this for storing CACAOs for identity key delegation.
CACAO CAIP test case is a JSON object: https://github.com/ChainAgnostic/CAIPs/blob/8fdb5bfd1bdf15c9daf8aacfbcc423533764dfe9/CAIPs/caip-draft_cacao.md#test-cases Would conversion of CACAO to/from JSON be relevant for this repo?