src/Codec/Encoding.php
public static function jsonApi(int $options = 0, string $urlPrefix = null, int $depth = 512): self
    {
        return self::create(
            MediaTypeInterface::JSON_API_MEDIA_TYPE,
            $options,
            $urlPrefix,
            $depth
        );
    }
public static function jsonApi(int $options = 0, string $urlPrefix = null, int $depth = 512): self
    {
        return self::create(
            MediaTypeInterface::JSON_API_MEDIA_TYPE,
            $options,
            $urlPrefix,
            $depth
        );
    }
Create an encoding for the JSON API media type.

@param int $options
@param string|null $urlPrefix
@param int $depth
@return Encoding