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

[Rust] rsv crate with serde support #20

Open
mostlymaxi opened this issue Jan 31, 2024 · 1 comment
Open

[Rust] rsv crate with serde support #20

mostlymaxi opened this issue Jan 31, 2024 · 1 comment

Comments

@mostlymaxi
Copy link

Decided to just go ahead and make an rsv encoder/decoder using the serde framework for rust. Should make it compatible with most structs and types (w.i.p) that have Serialize/Deserialize traits.

Probably a bit too big to shove into this challenge but figured I'd link it in case someone else wants to play around with the crate.

@mostlymaxi mostlymaxi changed the title [Rust impl] rsv crate with serde support [Rust] rsv crate with serde support Jan 31, 2024
@simonrupf
Copy link

And based on the above library, I could add RSV support to convert2json, so we can now convert it to JSON and query it in jq:

$ rq .[0][1] Valid_001.rsv
"🌎"
$ rsv2json Valid_001.rsv
[["Hello","🌎",null,""],["A\u0000B\nC","Test 𝄞"],[],[""]]

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

2 participants