public static function parseDataArray($json, string $returnClass): array
    {
        $result = [];
        if (is_array($json)) {
            foreach ($json as $entry) {
                $result[] = static::parseData($entry, $returnClass);
            }
        }
        return $result;
    }