--- id: tjsoninteger title: TJSONInteger sidebar_label: TJSONInteger --- a JSON integer. ## Methods ### `Method Create:TJSONInteger(v:Long)` Creates an instance of [TJSONInteger](../../../text/text.json/tjsoninteger) with v.
### `Method Create:TJSONInteger(v:Byte)` Creates an instance of [TJSONInteger](../../../text/text.json/tjsoninteger) with v.
### `Method Create:TJSONInteger(v:Short)` Creates an instance of [TJSONInteger](../../../text/text.json/tjsoninteger) with v.
### `Method Create:TJSONInteger(v:Int)` Creates an instance of [TJSONInteger](../../../text/text.json/tjsoninteger) with v.
### `Method Create:TJSONInteger(v:UInt)` Creates an instance of [TJSONInteger](../../../text/text.json/tjsoninteger) with v.
### `Method Create:TJSONInteger(v:ULong)` Creates an instance of [TJSONInteger](../../../text/text.json/tjsoninteger) with v.
### `Method Create:TJSONInteger(v:Size_T)` Creates an instance of [TJSONInteger](../../../text/text.json/tjsoninteger) with v.
### `Method Value:Long()` Returns the associated value of the integer.
### `Method Set:Int(v:Long)` Sets the associated value of integer to v. Returns 0 on success, -1 otherwise.
### `Method Set:Int(v:Byte)` Sets the associated value of integer to v. Returns 0 on success, -1 otherwise.
### `Method Set:Int(v:Short)` Sets the associated value of integer to v. Returns 0 on success, -1 otherwise.
### `Method Set:Int(v:Int)` Sets the associated value of integer to v. Returns 0 on success, -1 otherwise.
### `Method Set:Int(v:UInt)` Sets the associated value of integer to v. Returns 0 on success, -1 otherwise.
### `Method Set:Int(v:ULong)` Sets the associated value of integer to v. Returns 0 on success, -1 otherwise.
### `Method Set:Int(v:Size_T)` Sets the associated value of integer to v. Returns 0 on success, -1 otherwise.