JsonPropertyAccessor.access

Get a property out of component

class JsonPropertyAccessor
const
JSONValue
access
(
JSONValue component
,
in string property
,
RCIAllocator allocator = theAllocator
)

Parameters

component JSONValue

a component which has some properties identified by property.

Return Value

Type: JSONValue

FieldType accessed property.

Throws

NotFoundException in case when no requested property is available. InvalidArgumentException in case when passed arguments are somehow invalid for use.

Meta