MadelineProtoDocs/docs/API_docs/constructors/jsonObject.md

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}}