toJSON

fun toJSON(): ERROR CLASS: Symbol not found for JsAny??(source)

Returns a JSON representation of this Uri.