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

Converting to/from CBOR #26

Open
tarcieri opened this issue Nov 2, 2016 · 0 comments
Open

Converting to/from CBOR #26

tarcieri opened this issue Nov 2, 2016 · 0 comments

Comments

@tarcieri
Copy link
Contributor

tarcieri commented Nov 2, 2016

CBOR describes a mapping for converting to/from JSON (see RFC7049 section 4). From what I can tell, a conversion of a CBOR document to JSON and back to CBOR would be potentially lossy, as JSON is unable to retain CBOR's tags (described in section 2.4 of RFC 7049)

TJSON could be bidirectionally transcoded from CBOR, but TJSON would be able to preserve more of CBOR's types.

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