JsonUtils.asObject Function

Get a value as an object.

asObject(json: any): any

@returns the input JSON object if it is an object, otherwise undefined

Parameter Type Description
json any the input JSON object

Returns - any

the input JSON object if it is an object, otherwise undefined

Defined in

Last Updated: 14 November, 2024