Walther / clovers

Ray Tracing in Rust
https://walther.github.io/clovers/clovers/
13 stars 1 forks source link

The Great Data Migration: use serde internally tagged structs #147

Closed Walther closed 2 years ago

Walther commented 2 years ago

Use serde internally tagged structs instead of the default of externally tagged structs. This makes using the JSON data easier in other consumers & producers.

https://serde.rs/enum-representations.html