Add optimized Serialize implementations for API types
This avoids serializing things like "field": null
or "field": []
when emitting JSON for the API thereby reducing the amount of data that has to be compressed and transmitted.
This avoids serializing things like "field": null
or "field": []
when emitting JSON for the API thereby reducing the amount of data that has to be compressed and transmitted.