Home > @magiclane/maps-sdk > GateStatus > fromJson

GateStatus.fromJson() method

Deserializes a JSON-compatible map to create an instance.

Signature:

static fromJson(json: Record<string, any>): GateStatus;

Parameters

Parameter

Type

Description

json

Record<string, any>

JSON map representation

Returns:

GateStatus

GateStatus instance