readAny

fun JsonReader.readAny(): Any?

Reads the reader and maps numbers to the closest representation possible in that order:

  • Int

  • Long

  • Double

  • JsonNumber