Skip to content

Conversation

@JamesWrigley
Copy link
Contributor

IJulia recently added a Python integration that involves passing parsed JSON to various Python libraries (JuliaLang/IJulia.jl#1190). Sometimes they can be picky about types, so this PR adds support for parsing as Int64 where possible. Also popped in a @view in parse_number() to reduce allocations.

Unfortunately I'd say this is a breaking change. Don't think it makes sense to modify the JSON.jl version number, but we could keep a mini-changelog in the README?

Created with help from Claude 🤖

@codecov
Copy link

codecov bot commented Oct 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.99%. Comparing base (ca00f6b) to head (4139df5).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #396   +/-   ##
=======================================
  Coverage   89.99%   89.99%           
=======================================
  Files           7        7           
  Lines        1329     1329           
=======================================
  Hits         1196     1196           
  Misses        133      133           

☔ 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.

@JamesWrigley
Copy link
Contributor Author

(bump)

Copy link
Member

@quinnj quinnj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I forgot about this. This LGTM. While breaking, I think it's relatively minor and as you're the only known user of JSONX so far, we'll give you preference here ;)

I agree a changelog in this directory would probably be helpful.

@quinnj quinnj merged commit 52d8b90 into JuliaIO:master Oct 23, 2025
18 checks passed
@JamesWrigley JamesWrigley deleted the parse-ints branch October 23, 2025 07:05
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.

2 participants