Tomlyn icon indicating copy to clipboard operation
Tomlyn copied to clipboard

Custom type converters

Open 11clock opened this issue 2 years ago • 1 comments

I would like to be able to register custom converters between types for serialization and deserialization. For example, a vector2 struct would be serialized into an array and vice versa.

11clock avatar Mar 22 '23 14:03 11clock

+1, like JsonConverter in JsonSerializerSettings, it's useful very much.

Binaritec avatar Mar 23 '23 02:03 Binaritec