public function JsonDecode::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/serializer/Encoder/JsonDecode.php \Symfony\Component\Serializer\Encoder\JsonDecode::__construct()
Constructs a new JsonDecode instance.
Parameters
bool $associative True to return the result associative array, false for a nested stdClass hierarchy:
int $depth Specifies the recursion depth:
File
- vendor/
symfony/ serializer/ Encoder/ JsonDecode.php, line 47
Class
- JsonDecode
- Decodes JSON data.
Namespace
Symfony\Component\Serializer\EncoderCode
public function __construct($associative = false, $depth = 512) {
$this->associative = $associative;
$this->recursionDepth = (int) $depth;
}