MadelineProtoDocs/old_docs/API_docs_v104/constructors/jsonObject.md
2019-08-15 20:25:16 +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}}