Back to Practical Aspnetcore

Contract Customization - add additional property on serialization

projects/json/json-25/README.md

latest238 B
Original Source

Contract Customization - add additional property on serialization

This example shows how to customize serialization using DefaultJsonTypeInfoResolver. In this case we add one extra "timestamp" property to the serialization process.