MadelineProtoDocs/docs/API_docs/constructors/jsonObjectValue.md

31 lines
709 B
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
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];
```