{"id":15174094,"url":"https://github.com/cucumber/json-formatter","last_synced_at":"2025-10-19T09:32:37.482Z","repository":{"id":37098833,"uuid":"481657760","full_name":"cucumber/json-formatter","owner":"cucumber","description":"Provides a language-agnostic command-line tool to convert cucumber messages into a JSON document.","archived":false,"fork":false,"pushed_at":"2024-03-25T23:01:19.000Z","size":1622,"stargazers_count":18,"open_issues_count":20,"forks_count":6,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-04-14T04:19:07.762Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cucumber.png","metadata":{"funding":{"open_collective":"cucumber"},"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-04-14T15:35:25.000Z","updated_at":"2023-09-27T15:11:10.000Z","dependencies_parsed_at":"2023-12-22T09:02:49.793Z","dependency_job_id":"d29b86f0-9a63-4e58-ba38-1db0b67ccb6b","html_url":"https://github.com/cucumber/json-formatter","commit_stats":{"total_commits":452,"total_committers":19,"mean_commits":"23.789473684210527","dds":0.745575221238938,"last_synced_commit":"b1a70916b89194395000a1748d5ceac0adcc9edf"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cucumber%2Fjson-formatter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cucumber%2Fjson-formatter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cucumber%2Fjson-formatter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cucumber%2Fjson-formatter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cucumber","download_url":"https://codeload.github.com/cucumber/json-formatter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219869479,"owners_count":16555292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-27T11:24:20.492Z","updated_at":"2025-10-19T09:32:32.209Z","avatar_url":"https://github.com/cucumber.png","language":"Go","funding_links":["https://opencollective.com/cucumber"],"categories":[],"sub_categories":[],"readme":"[![Build](https://github.com/cucumber/json-formatter/actions/workflows/test.yaml/badge.svg)](https://github.com/cucumber/json-formatter/actions/workflows/test.yaml)\n\n# Cucumber Standalone JSON Formatter\n\nThis *standalone JSON Formatter* provides a language agnostic tool to convert [cucumber messages](https://github.com/cucumber/common/tree/main/messages#readme) into a JSON document.\n\n## Installation\n\nThe Standalone JSON Formatter is a prebuilt executable. (It's written in Go).\nIt can be downloaded from [GitHub Releases](https://github.com/cucumber/json-formatter/releases/tag/v19.0.0)\nwhere you'll find executables for various operating systems and CPU architectures.\n\n### MacOS\n\n* Download `cucumber-json-formatter-darwin-amd64` and rename it to `cucumber-json-formatter`\n* Move it to a directory that's on your `PATH`\n* Make it executable with `chmod +x cucumber-json-formatter`\n* Verify that you can run it: `cucumber-json-formatter --help`\n\nAt the last step, you may get a security warning from MacOS. If you do, open *System Preferences*. Go to\n*Security Settings*. You should see a question asking if you want to open it anyway. Say yes.  \n\n### Windows\n\n* Download `cucumber-json-formatter-windows-amd64` and rename it to `cucumber-json-formatter.exe`\n* Move it to a directory that's on your `PATH`\n* Verify that you can run it: `cucumber-json-formatter --help`\n\n### Linux\n\n* Download `cucumber-json-formatter-linux-amd64` (or one of the other CPU variants) and rename it to `cucumber-json-formatter`\n* Move it to a directory that's on your `PATH`\n* Make it executable with `chmod +x cucumber-json-formatter`\n* Verify that you can run it: `cucumber-json-formatter --help`\n\n## Usage\n\nFirst, generate Cucumber messages using Cucumber's built-in `message` formatter and make sure it's saved to a file\n(e.g. `cucumber-messages.ndjson`).\n\nNext, generate JSON:\n\n    cat cucumber-messages.ndjson | cucumber-json-formatter \u003e cucumber-results.json\n\nThat's it. If you are the maintainer of a tool that consumes the legacy Cucumber JSON format you should consider\nupdating your tool to consume Cucumber Messages instead.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcucumber%2Fjson-formatter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcucumber%2Fjson-formatter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcucumber%2Fjson-formatter/lists"}