src/Component/Json.php
/**
     * Converts an array or an object to a recursive object.
     *
     * @param mixed $value
     * @param bool $forceObject Whether to convert indexed arrays to objects or not.
     * @return object|array
     */
Converts an array or an object to a recursive object.
@param mixed $value
@param bool $forceObject Whether to convert indexed arrays to objects or not.
@return object|array
Converts an array or an object to a recursive object . @param mixed $value @param bool $forceObject Whether to convert indexed arrays to objects or not . @return object|array
protected function toObject($value, bool $forceObject = false)
    {
        return $this->decodeJsonUseProps(
            $this->encodeToJsonUseProps($value, $forceObject ? JSON_FORCE_OBJECT : 0)
        );
    }
protected function toObject ( $ value , bool $ forceObject = false ) { return $ this -> decodeJsonUseProps ( $ this -> encodeToJsonUseProps ( $ value , $ forceObject ? JSON_FORCE_OBJECT : 0 ) ) ; }
Converts an array or an object to a recursive object.
Converts an array or an object to a recursive object .