https://kotlinlang.org logo
#klaxon
Title
# klaxon
y

yurik

10/23/2019, 8:36 AM
i.e.:
Copy code
... : Converter {
    ...
    override fun toJson(value: Any): String
        = """{"flag" : "${if ((value as BooleanHolder).flag == true) 1 else 0}"""
     ...
so, didn’t catched to what the
value
should be casted if here is a collection instance?