diff --git a/src/Keboola/Json/Parser.php b/src/Keboola/Json/Parser.php index 541b314..19c2663 100755 --- a/src/Keboola/Json/Parser.php +++ b/src/Keboola/Json/Parser.php @@ -170,7 +170,11 @@ public function process(array $data, $type = "root", $parentId = null) */ public function parse(array $data, $type, $parentId = null) { - if (!$this->analyzer->isAnalyzed($type)) { + if ( + !$this->analyzer->isAnalyzed($type) + && (empty($this->analyzer->getRowsAnalyzed()[$type]) + || $this->analyzer->getRowsAnalyzed()[$type] < count($data)) + ) { // analyse instead of failing if the data is unknown! $this->log->log( "debug",