MadelineProtoDocs/old_docs/API_docs_v38/constructors/jsonObject.md
2020-06-16 17:50:25 +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}}