Skip to content

feat: port googleauth from multi_json to standard lib json#575

Open
quartzmo wants to merge 6 commits into
googleapis:mainfrom
quartzmo:migrate-to-stdlib-json
Open

feat: port googleauth from multi_json to standard lib json#575
quartzmo wants to merge 6 commits into
googleapis:mainfrom
quartzmo:migrate-to-stdlib-json

Conversation

@quartzmo
Copy link
Copy Markdown
Member

@quartzmo quartzmo commented Jun 2, 2026

  • googleauth is now guaranteed to use the standard library JSON engine
    natively, providing absolute consistency regardless of user configurations.
  • Remove multi_json's possible dispatch overhead and lock/mutex contention.
  • Slightly reduce overall memory footprint per request.
  • Add pstore to gemspec for Ruby 4.0 compatibility.
  • Tests under multi_json already enforced the use of the json gem.
  • Wrap JSON::ParserError in Google::Auth::InitializationError at main entry points.

fixes: #572

@quartzmo quartzmo requested a review from a team as a code owner June 2, 2026 17:17
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.

Replace deprecated "MultiJson" by "MultiJSON"

1 participant