MadelineProtoDocs/old_docs/API_docs_v97/constructors/jsonObject.md
2019-05-03 21:10:09 +02:00

664 B

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

Constructor: jsonObject

Back to constructors index

Json object

Attributes:

Name Type Required Description
value Array of JSONObjectValue Yes Value

Type: JSONValue

Example:

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

Or, if you're into Lua:

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