cbor / cbor.github.io

cbor.io web site
75 stars 33 forks source link

CBORPath proposal + implementation in Rust #90

Open mcatanzariti opened 1 year ago

mcatanzariti commented 1 year ago

Based on the JSONPath Internet Draft, I recently wrote a CBORPath implementation in Rust: https://github.com/dahomey-technologies/cborpath-rs.

The main difference between JSONPath and my CBORPath proposal is that CBORPath is itself represented as a valid CBOR expression.

Pros:

Cons:

Thank you to give your thoughts about the proposal. I may take the time to write an Internet draft.

Michaël

PS: reddit post link

cabo commented 1 year ago

Interesting! I'll look at this in more detail, but doing something like this certainly was in the cards. We'll have a JSONPath interim meeting on Tuesday and a CBOR interim meeting on Wednesday; I'll make sure that this work gets some mention there (even if there isn't an Internet-Draft[^1] to discuss yet).

[^1]: This is what we like to call our draft RFCs, because they aren't RFCs yet...