39 lines
598 B
Markdown
39 lines
598 B
Markdown
|
---
|
||
|
title: jsonNumber
|
||
|
description: Json number
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: jsonNumber
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
Json number
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|value|[double](../types/double.md) | Yes|Value|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [JSONValue](../types/JSONValue.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```php
|
||
|
$jsonNumber = ['_' => 'jsonNumber', 'value' => double];
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
```lua
|
||
|
jsonNumber={_='jsonNumber', value=double}
|
||
|
|
||
|
```
|
||
|
|
||
|
|