private function convert(\DOMElement $node)
    {
        foreach ($this->converters as $converter) {
            if ($converter->matches($node)) {
                return $converter->toJson($node);
            }
        }
    }
private function convert(\DOMElement $node)
    {
        foreach ($this->converters as $converter) {
            if ($converter->matches($node)) {
                return $converter->toJson($node);
            }
        }
    }
private function convert ( \ DOMElement $ node ) { foreach ( $ this -> converters as $ converter ) { if ( $ converter -> matches ( $ node ) ) { return $ converter -> toJson ( $ node ) ; } } }
Converts one node to json

@param \DOMElement $node
@return array
Converts one node to json