1 2 3 4
fun {{ method_name }}({{ params }}): {{ return_type }} { val resultJson = {{ bridge_call }} return mapper.readValue(resultJson, object : TypeReference<{{ type_ref_body }}>() {}) }