JSONNumber

fun JSONNumber(value: Long)

Construct a new JSONNumber.

Parameters

value

The Long that encodes the value.


fun JSONNumber(value: Int)

Construct a new JSONNumber.

Parameters

value

The Int that encodes the value.


fun JSONNumber(value: Double)

Construct a new JSONNumber.

Parameters

value

The Double that encodes the value.


fun JSONNumber(value: Float)

Construct a new JSONNumber.

Parameters

value

The Float that encodes the value.


fun JSONNumber(bigDecimal: BigDecimal)

Construct an instance based on a BigDecimal.