[]
Registers a JSON converter for a specific type of report item.
public static void Register(string typeName, Type type, Func<JsonConverter<ReportItem>> getConverter)
| Type | Name | Description |
|---|---|---|
| string | typeName | A string value indicating the report item name used to specify the type in the JSON.. |
| Type | type | A Type object representing the type of the report item. |
| Func<JsonConverter<ReportItem>> | getConverter | The function to get a JsonConverter<T> object used for serialization and deserialization. |
This method allows the registration of custom JSON converters for specific report item types. The converters will be used to handle the serialization and deserialization of those types.