__jsonWriteInt (Function)

Signature: __jsonWriteInt(writer: int, number: int) -> Unit

Description: Internal primitive of jsonEncode: appends one integer. Call jsonEncode instead.

Parameters

  • writer (int): Handle from __jsonWriterOpen
  • number (int): The integer

Returns: Unit

Example

jsonEncode(JsonNull)
jsonEncode JsonNull