value

inline fun <T> JsonPrimitive.value(): T

Get value from JsonPrimitive type which convert a string to Double, Int, Float, Boolean or String.