JsonArraySetter.componentType

Identify the type of supported component.

Identify the type of supported component. It returns type info of component if it is supported by accessor, otherwise it will return typeid(void) denoting that the type isn't supported by accessor. The accessor is not limited to returning the type info of passed component, it can actually return type info of super type or any type given the returned type is implicitly convertible or castable to ComponentType.

class JsonArraySetter
const nothrow
TypeInfo
componentType
(
ref JSONValue composite
)

Return Value

Type: TypeInfo

TypeInfo type information about passed component, or typeid(void) if component is not supported.

Meta