mirror of
https://github.com/cerbero90/json-parser.git
synced 2025-07-16 03:36:27 +02:00
18 lines
294 B
PHP
18 lines
294 B
PHP
<?php
|
|
|
|
namespace Cerbero\JsonParser\Decoders;
|
|
|
|
/**
|
|
* The decoder to turn a JSON into an object.
|
|
*
|
|
*/
|
|
class ObjectDecoder extends ArrayDecoder
|
|
{
|
|
/**
|
|
* Whether to decode the JSON into an associative array.
|
|
*
|
|
* @var bool
|
|
*/
|
|
protected bool $decodesToArray = false;
|
|
}
|