Custom JSON converter to replace a complex object property with string
In my recent project, we have an Address class that is complex and has many properties in it. This class also has an ID property. We have a requirement where we need to replace this object with the ID string of the address wherever the address is used in any object when serialising to JSON. … [Read more…]