Home > @magiclane/maps-sdk > ParameterList > asJson

ParameterList.asJson() method

Returns the parameters as a deeply structured JSON list. Each entry includes the key, value, and, if available, name. The value is formatted according to its type. Only parameters with non-null key, value, and type are included.

Signature:

asJson(): Record<string, any>[];

Returns:

Record<string, any>[]