getObjectFromJsonUrl

inline fun <T> getObjectFromJsonUrl(jsonUrl: String, crossinline onSuccess: (retObject: T) -> Unit, crossinline onFailure: (<Error class: unknown class>) -> Unit)