register_type


Description:

public static void register_type (string key, Type gtype)

Registers a GType for a property/section key (static method).

When deserializing JSON, Config2 will use the registered GType to deserialize the property using standard Json.Serializable. This is used for the usage map.

Parameters:

key

The property/section key name

gtype

The GType to use for deserialization