mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-11 16:50:37 +01:00
31 lines
709 B
Markdown
31 lines
709 B
Markdown
|
---
|
||
|
title: "jsonObjectValue"
|
||
|
description: "JSON key: value pair"
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: jsonObjectValue
|
||
|
[Back to constructors index](/API_docs/constructors/index.html)
|
||
|
|
||
|
|
||
|
|
||
|
JSON key: value pair
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|key|[string](/API_docs/types/string.html) | Yes|Key|
|
||
|
|value|[JSONValue](/API_docs/types/JSONValue.html) | Yes|Value|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [JSONObjectValue](/API_docs/types/JSONObjectValue.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$jsonObjectValue = ['_' => 'jsonObjectValue', 'key' => 'string', 'value' => JSONValue];
|
||
|
```
|