src/Resource/Locale.php
public function jsonSerialize(): array
    {
        $locale = [
            'sys' => $this->sys,
            'code' => $this->code,
            'default' => $this->default,
            'name' => $this->name,
            'fallbackCode' => $this->fallbackCode,
        ];

        return $locale;
    }
public function jsonSerialize(): array
    {
        $locale = [
            'sys' => $this->sys,
            'code' => $this->code,
            'default' => $this->default,
            'name' => $this->name,
            'fallbackCode' => $this->fallbackCode,
        ];

        return $locale;
    }
{@inheritdoc}