createRouteRequestFromJSONString

open fun createRouteRequestFromJSONString(@NonNull() json: String, @NonNull() listener: OnRouteRequestDeserialized)

Creates RouteRequest from JSON that was serialized via serializeToBriefJSON

Parameters

json

Serialized JSON

listener

Listener which will be called upon completion

open fun createRouteRequestFromJSONString(@NonNull() json: String, @NonNull() listener: OnRouteRequestDeserialized, @Nullable() executor: Executor)

Creates RouteRequest from JSON that was serialized via serializeToBriefJSON

Parameters

json

Serialized JSON

listener

Listener which will be called upon completion

executor

executor which will execute listener's methods