Toot

Written by Adam Chalmers on 2024-11-14 at 04:05

Does anyone know why this surprising Serde behaviour works? Why can JSON arrays and objects both deserialize into a Rust struct via the default serde derives? https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=00a0bfdf489e6964794caa4ddecdab9f

=> More informations about this toot | View the thread | More toots from adam_chal@hachyderm.io

Mentions

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113479328019387165
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
222.294582 milliseconds
Gemini-to-HTML Time
0.493851 milliseconds

This content has been proxied by September (3851b).