serialize

open override fun serialize(route: Map<String, String>): String

Serializes a given object of type T to String for setting it to the window.location.hash