Table of Contents

EConvertToJsonError.Create Constructor

Creates the exception with the type name and offending value.

Syntax

Unit: Bcl.Json.Converters

constructor EConvertToJsonError.Create(const TypeName: string; Value: TValue);

Parameters

<-> Parameter Type Description
const TypeName string The name of the type that failed serialization.
Value TValue The value that could not be converted.

See also