Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plain JSON is considered as compressed CBOR-LD #12

Open
filip26 opened this issue Jul 11, 2022 · 0 comments
Open

Plain JSON is considered as compressed CBOR-LD #12

filip26 opened this issue Jul 11, 2022 · 0 comments

Comments

@filip26
Copy link

filip26 commented Jul 11, 2022

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
@filip26 filip26 changed the title Plain JSON is considered as compress-able CBOR-LD Plain JSON is considered as compressed CBOR-LD Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant