JsonizeOptions.classKey

The key of a field identifying the D type of a json object.

If this key is found in the json object, fromJSON will try to factory construct an object of the type identified.

This is useful when deserializing a collection of some type T, where the actual instances may be different subtypes of T.

Setting classKey to null will disable factory construction.

struct JsonizeOptions
string classKey;

Meta