fun valueOf(value: Int): JsonValueReturns a JsonValue instance that represents the given int value.
value - the value to get a JSON representation for
Return
a JSON value that represents the given value
fun valueOf(value: Long): JsonValueReturns a JsonValue instance that represents the given long value.
value - the value to get a JSON representation for
Return
a JSON value that represents the given value
fun valueOf(value: Float): JsonValueReturns a JsonValue instance that represents the given float value.
value - the value to get a JSON representation for
Return
a JSON value that represents the given value
fun valueOf(value: Double): JsonValueReturns a JsonValue instance that represents the given double value.
value - the value to get a JSON representation for
Return
a JSON value that represents the given value
fun valueOf(string: String): JsonValueReturns a JsonValue instance that represents the given string.
string - the string to get a JSON representation for
Return
a JSON value that represents the given string
fun valueOf(value: Boolean): JsonValueReturns a JsonValue instance that represents the given boolean value.
value - the value to get a JSON representation for
Return
a JSON value that represents the given value