On Saturday, 13 February 2021 at 01:21:56 UTC, Steven Schveighoffer wrote:
On 2/12/21 6:22 PM, Chris Bare wrote:
[...]

Does @ignore work? That's a UDA that tells vibe to ignore the field. Though I don't know if it means it leaves it alone completely.

https://vibed.org/api/vibe.data.serialization/ignore

-Steve

@ignore just prevents it from throwing an error if the field is not in the json. The field still gets overwritten with it's default value in the struct.

Reply via email to