Skip to content

Conversation

@lemnik
Copy link
Contributor

@lemnik lemnik commented Oct 14, 2025

Goal

Reduce the class count and improve internal access to the JsonStream.

Design

Converted the previously package-protected JsonWriter class to Kotlin and merged it with the JsonStream (attribution and copyright notice for JsonWriter have moved into the JsonStream class).

Testing

Removed JsonWriter specific testing and otherwise relied on existing tests.

@lemnik lemnik requested a review from tomlongridge October 14, 2025 16:30
@lemnik lemnik requested a review from YYChen01988 as a code owner October 14, 2025 16:30
@bugsnagbot
Copy link
Collaborator

bugsnagbot commented Oct 14, 2025

Android notifier sizes

Format Size impact of Bugsnag (kB) Size impact of Bugsnag when Minified (kB)
APK 1837.36 1602.99
arm64_v8a 647.43 409.86
armeabi_v7a 590.09 352.52
x86 717.04 483.57
x86_64 692.47 454.9

Generated by 🚫 Danger

tomlongridge
tomlongridge previously approved these changes Oct 15, 2025
Copy link
Contributor

@tomlongridge tomlongridge left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@YYChen01988 YYChen01988 left a comment

Choose a reason for hiding this comment

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

LGTM

@lemnik lemnik merged commit 9f0fc02 into next Oct 20, 2025
40 checks passed
@lemnik lemnik deleted the PLAT-14998/merge-JsonWriter-JsonStream branch October 20, 2025 10:04
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.

5 participants