Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON report #2285

Open
Grovkillen opened this issue Apr 16, 2024 · 0 comments
Open

JSON report #2285

Grovkillen opened this issue Apr 16, 2024 · 0 comments

Comments

@Grovkillen
Copy link

Grovkillen commented Apr 16, 2024

The HTML report is great but I would love to see a programmatically aimed report based on JSON. See this example (just food for thought):

[
    {
        "difference": "d1",
        "row": 2,
        "column": 15,
        "raw row value before": "row full value \"2\"",
        "raw row value after": "row full value '2'",
        "difference before": "\"",
        "difference after": "'",
        "type": "change",
    },
    {
        "difference": "d2",
        "row": 2,
        "column": 17,
        "raw row value before": "row full value \"2\"",
        "raw row value after": "row full value '2'",
        "difference before": "\"",
        "difference after": "'",
        "type": "change",
    },
    {
        "difference": "d3",
        "row": 212,
        "column": 1,
        "raw row value before": "row text",
        "raw row value after": "",
        "difference before": "row text",
        "difference after": "",
        "type": "delete",
    },
    {
        "difference": "d4",
        "row": 404,
        "column": 15,
        "raw row value before": "row text that I have now changed",
        "raw row value after": "row text that we have now changed",
        "difference before": "I",
        "difference after": "we",
        "type": "change",
    },
    {
        "difference": "d5",
        "row": 600,
        "column": 1,
        "raw row value before": "",
        "raw row value after": "row that is added",
        "difference before": "",
        "difference after": "row that is added",
        "type": "added",
    }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants