Skip to content

Fix FormatException cause by empty json file #487

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 4 commits into
base: develop
Choose a base branch
from

Conversation

bothyculture
Copy link

✨ What kind of change does this PR introduce? (Bug fix, feature, docs update...)

Fixes an exception caused by empty json files

⤵️ What is the current behavior?

Throws FormatException: Unexpected end of input (at character 1)

🆕 What is the new behavior (if this is a feature change)?

No error thrown

💥 Does this PR introduce a breaking change?

No

🐛 Recommendations for testing

Added a test for this

📝 Links to relevant issues/docs

#450

🤔 Checklist before submitting

  • All projects build
  • Follows style guide lines (code style guide)
  • Relevant documentation was updated
  • Rebased onto current develop

@bothyculture bothyculture reopened this Jun 5, 2025
@bothyculture bothyculture marked this pull request as ready for review June 5, 2025 18:00
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