Table of Contents

IJsonTypeConverter Interface

Interface for converting values to and from JSON representation.

Remarks

Implementations handle serialization (WriteJson), deserialization (ReadJson), and conditional inclusion (ShouldWrite) for a specific type.

Syntax

Unit: Bcl.Json.Converters

IJsonTypeConverter = interface(IInterface);

Methods

Name Description
WriteJson Serializes a value to JSON.
ReadJson Deserializes a value from JSON.
ShouldWrite Determines whether a value should be included in the JSON output.