serialize

open override fun serialize(route: String): String

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