<?php

declare (strict_types=1);
namespace PoP\Engine\TypeResolvers\ScalarType;

/**
 * GraphQL Custom Scalar representing a JSON Object on the client-side,
 * handled via an stdClass object on the server-side
 *
 * @see https://spec.graphql.org/draft/#sec-Scalars.Custom-Scalars
 * @internal
 */
class JSONObjectScalarTypeResolver extends \PoP\Engine\TypeResolvers\ScalarType\AbstractJSONObjectScalarTypeResolver
{
    public function getTypeName() : string
    {
        return 'JSONObject';
    }
    public function getTypeDescription() : ?string
    {
        return $this->__('Custom scalar representing a JSON Object of unrestricted shape', 'component-model');
    }
    public function getSpecifiedByURL() : ?string
    {
        return 'https://datatracker.ietf.org/doc/html/rfc7159';
    }
}
