# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/.
import json
from ..result import IssueEncoder from .compact import CompactFormatter from .stylish import StylishFormatter from .summary import SummaryFormatter from .treeherder import TreeherderFormatter from .unix import UnixFormatter
class JSONFormatter(object): def __call__(self, result): return json.dumps(result.issues, cls=IssueEncoder)
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.