--- title: "dataJSON" description: "Represents a json-encoded object" nav_exclude: true image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Constructor: dataJSON [Back to constructors index](/API_docs/constructors/index.html) Represents a json-encoded object ### Attributes: | Name | Type | Required | Description | |----------|---------------|----------|-------------| |data|[string](/API_docs/types/string.html) | Yes|JSON-encoded object| ### Type: [DataJSON](/API_docs/types/DataJSON.html) ### Example: ``` $dataJSON = ['_' => 'dataJSON', 'data' => 'string']; ```