-
-
Notifications
You must be signed in to change notification settings - Fork 166
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
Add support for CDDL #325
Comments
It's on the list. It may take a while, though. |
You might find this interesting/useful - it's Python that produces C code based on a CDDL description - https://github.com/NordicSemiconductor/cddl-gen |
I think before looking at CDDL I need to revisit some aspects of the CBOR implementation. Currently it transforms CBOR events into jsoncons events during parsing, feeding those events into a |
That would indeed be helpful for a number of cases.
Yes and others, as you note. It's also important to make sure that the original CBOR type is available to this new
That works for me! |
Describe the proposed feature
CDDL is the notational convention for describing CBOR data structures (https://datatracker.ietf.org/doc/html/rfc8610) - think JSON Schema for CBOR - though it is also useful for JSON as well.
What other libraries (C++ or other) have this feature?
None :(. This page (cbor-wg/cddl#29) tracks implementations and there seem to be none in C/C++. So you could be the first!
The text was updated successfully, but these errors were encountered: