-
Notifications
You must be signed in to change notification settings - Fork 229
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
Support for MessagePack (msgpack) #25
Comments
Hello, that should be possible. Usually fq decoders decode to something that tries to balance usability and access to many parts as possible. For self describing formats like msgpack that would deciding if all values (even scalars) should be decoded into a structs that provide access to its "encoded" length and type (fixint, bin8, etc) in addition to its "JSON" value or should it be just the "JSON" value somehow? Query over the detailed structure:
Query over encoded JSON:
Interestingly |
CBOR support would be related, since it is very similar to (and based on) msgpack. |
@tmccombs had q quick look at CBOR. Yeap some things seems similar, other things not so much. Hopefully it's possible to reuse part of the msgpack decoder at least. |
With #69 you can do:
|
Added a CBOR issue #71 |
@bflad hey, in fq master you now use |
Sweet, thanks! That's really helpful. Super appreciative of the work you are doing on this project. |
👍 Glad you like it! now there is CBOR support also #75 if that is interesting |
Description
fq
looks like a great tool! Checking out the supported formats, it doesn't appear that https://msgpack.org/ is supported at the moment.Is this format something that would be considered for this project? It would be great to be able to inspect and filter against msgpack data.
The text was updated successfully, but these errors were encountered: