Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

feat(json): Implement export to JSON file #132

Merged
merged 4 commits into from
May 5, 2022
Merged

Conversation

vvatelot
Copy link
Member

@vvatelot vvatelot commented May 3, 2022

closes #130

Add Enum option --export-format : json | csv (default is csv)

Export json file example:

[
    {
        "width": 1920,
        "height": 1080,
        "url": "http://www.ecoindex.fr",
        "size": 458.124,
        "nodes": 45,
        "requests": 67,
        "grade": "B",
        "score": 75.0,
        "ges": 1.5,
        "water": 2.25,
        "date": "2022-05-03 21:53:20.343810",
        "page_type": null
    }
]

@vvatelot vvatelot merged commit 2f91d82 into main May 5, 2022
@vvatelot vvatelot deleted the feat/export-json branch May 5, 2022 07:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Export data to json
1 participant