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: 17 December, 2024