Table of Contents

Bcl.Json.Classes Namespace

Classes

Name Description
EInvalidJsonCast Exception raised when an invalid type cast is attempted on a JSON element.
TJArray Represents a JSON array containing an ordered list of TJElement values.
TJElement Abstract base class for all JSON elements in the JSON Document Object Model.
TJMember Represents a name/value pair (member) in a JSON object.
TJMemberList A specialized object list for storing TJMember instances with ownership.
TJNull Represents a JSON null value.
TJObject Represents a JSON object containing an unordered collection of name/value pairs.
TJPrimitive Represents a JSON primitive value (string, number, or Boolean).

Methods

Name Description
JBooleanOrDefault Returns the Boolean value of a JSON element, or False if the element is nil.
JDoubleOrDefault Returns the Double value of a JSON element, or 0 if the element is nil.
JStringOrDefault Returns the string value of a JSON element, or an empty string if the element is nil.