Re: Resolving the issue of JSON and preserving order

Another solution is using deterministic CBOR which seems like an excellent fit for credentials and such.
Deterministic CBOR will most likely become and IETF standard.

https://github.com/cyberphone/D-CBOR#example

Anders

On 2023-09-22 14:38, Orie Steele wrote:
> You can use JSON-LD language features to preserve order.
> 
> If you use SD-JWT, because the JSON is signed instead of N-Quads, order is preserved by the signature.
> 
> OS
> 
> On Fri, Sep 22, 2023, 4:57 AM ステファニー タン(SBIホールディングス) <tstefan@sbigroup.co.jp <mailto:tstefan@sbigroup.co.jp>> wrote:
> 
>     Hi all,
> 
>     It's Stefannie again. Once again I would like to thank everyone for their help so far. We would be happy to participate in the next weekly call to introduce ourselves properly.
> 
>     Our next question is to do with VC and establishing a certain order. Inside the VC is the proof and other attributes, such as Credential Subject. Since JSON is unordered or does not preserve a certain order, what do you do when you want to establish a certain order for multiple credential subjects while preserving extensibility?
> 
>     Thank you for any advice or suggestion you might have.
> 
>     Best,
>     Stefannie
> 

Received on Friday, 22 September 2023 12:50:11 UTC