spruceid / cacao-rs

5 stars 1 forks source link

JSON representation #5

Open clehner opened 2 years ago

clehner commented 2 years ago

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?

chunningham commented 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)

chris13524 commented 1 year ago

I am also interested in JSON representation as we are using this for storing CACAOs for identity key delegation.