Home > @magiclane/maps-sdk > ActivityRecord > toJson

ActivityRecord.toJson() method

Serializes this instance to a JSON-compatible object.

Used internally, not intended for direct use by consumers. The object structure may change without notice.

Signature:

toJson(): Record<string, any>;

Returns:

Record<string, any>

A JSON-compatible object representation