EInvalidJsonCast.Create Constructor
Creates a new EInvalidJsonCast exception with a descriptive error message.
Syntax
Unit: Bcl.Json.Classes
constructor EInvalidJsonCast.Create(AElement: TJElement; ATypeInfo: PTypeInfo);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| AElement | TJElement | The JSON element that was the target of the invalid cast. May be nil. |
|
| ATypeInfo | PTypeInfo | The type information of the requested target type. |