deislabs / cnab-netstandard

.NET Standard 2.0 Client Library for CNAB
https://cnab.io
MIT License
11 stars 5 forks source link

Use canonical JSON for bundle serialization #8

Open radu-matei opened 5 years ago

radu-matei commented 5 years ago

As per https://github.com/deislabs/cnab-spec/pull/73, the client needs to serialize bundles using the canonical JSON form.

We need to investigate how to do this using Netwonsoft.Json and update the implementation accordingly.

radu-matei commented 5 years ago

It appears this may be the most comprehensive implementation for canonical JSON out there in .NET - https://github.com/cyberphone/json-canonicalization/tree/master/dotnet

We need to make sure it is indeed fully compliant with the canonical form, as well as compatible with the Docker implementation for canonical JSON, which is used by Notary and Duffle.