|
|
|
|
|
by mdx97
949 days ago
|
|
> I tried at some point to use Rust for an API but then I depended on making calls to a very complex API. In JavaScript I would have just gotten back a complex object where I can then pick whatever I want progressively through object access methods. In Rust I ended up with more than 500 lines of type definition for the API and it still wasn't enough so I gave up. You can always deserialize things as `serde_json::Value` instead of making types for everything to get similar behavior out of Rust. |
|