DzmitrySha/python-project-lvl2

View on GitHub
gendiff/formatters/json.py

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
"""JSON module - apply JSON view to diff"""


import json


def format_(tree: list) -> json:
    return json.dumps(tree, indent=4)