Skip to content

fix: issues with generating JSON output in the script #26

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mdqst
Copy link

@mdqst mdqst commented Apr 8, 2025

In the original script, there were two issues that caused problems with generating valid JSON:

  1. Trailing comma: Added a first flag to ensure no extra comma is added before the first item in the JSON, fixing the trailing comma issue.
  2. Incorrect closing brace: Fixed an extra closing brace, ensuring the JSON object is correctly closed.

Now, the script works properly and generates valid JSON output without errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant