Open filip26 opened 2 years ago
Hi, the specification does not define how to process plain JSON and an encoder following defined algorithms considers plain JSON as compressed CBOR-LD.
Plain JSON could be rejected for encoding or encoded as plain CBOR.
Add after step 2. JSON-LD to CBOR-LD Algorithm
if contextUrls is empty then .... // is not JSON-LD document
Hi, the specification does not define how to process plain JSON and an encoder following defined algorithms considers plain JSON as compressed CBOR-LD.
Plain JSON could be rejected for encoding or encoded as plain CBOR.
Add after step 2. JSON-LD to CBOR-LD Algorithm