serializeToBriefJSON

open fun serializeToBriefJSON(): String

Serialize the route to a JSON string. Brief serialization is to be used with computeRouteFromJSONString. Only waypoints and routing options are saved, so route has to be computed again.