Skip to content

Writing JSON dictionaries with non-string keys is now defaulted to produce an error #1479

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: master
Choose a base branch
from

Conversation

jbrichau
Copy link
Member

@jbrichau jbrichau commented Jul 4, 2025

Now an WAJsonSyntaxError is thrown when writing a JSON dictionary on the WAJsonCanvas with a key that is not a string. This is invalid JSON and was possible before.

Fixes #1474 and #1475

@jbrichau jbrichau requested a review from marschall July 4, 2025 09:48
Copy link

codecov bot commented Jul 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 51.82%. Comparing base (94c5469) to head (8c02562).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1479   +/-   ##
=======================================
  Coverage   51.82%   51.82%           
=======================================
  Files        9154     9154           
  Lines       76705    76706    +1     
=======================================
+ Hits        39753    39754    +1     
  Misses      36952    36952           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Default stringKeysOnly to true
1 participant