MadelineProtoDocs/old_docs/API_docs_v42/constructors/jsonObject.md
2020-09-12 12:47:38 +02:00

677 B

title description image
jsonObject JSON object value https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: jsonObject

Back to constructors index

JSON object value

Attributes:

Name Type Required Description
value Array of JSONObjectValue Yes Values

Type: JSONValue

Example:

$jsonObject = ['_' => 'jsonObject', 'value' => [JSONObjectValue, JSONObjectValue]];

Or, if you're into Lua:

jsonObject={_='jsonObject', value={JSONObjectValue}}