src/Viserio/Component/Parser/Dumper.php
public function dump(array $data, string $format): string
    {
        $dumper = $this->getDumper($format);

        return $dumper->dump($data);
    }
public function dump(array $data, string $format): string
    {
        $dumper = $this->getDumper($format);

        return $dumper->dump($data);
    }
Dump data in your choosing format.

@param array  $data
@param string $format

@throws \Viserio\Component\Contract\Parser\Exception\DumpException
@throws \Viserio\Component\Contract\Parser\Exception\NotSupportedException

@return string