Skip to content

refactor: create dedicated TufGsonSupplier - #1287

Draft
aaronlew02 wants to merge 1 commit into
mainfrom
tuf-gson-supplier
Draft

refactor: create dedicated TufGsonSupplier#1287
aaronlew02 wants to merge 1 commit into
mainfrom
tuf-gson-supplier

Conversation

@aaronlew02

Copy link
Copy Markdown
Collaborator

Summary

This change creates a TufGsonSupplier dedicated to TUF model JSON serialization and deserialization, distinct from GsonSupplier, which registers all other Gson type adapters.

This refactor prepares the codebase for the extraction of a TUF submodule.

@aaronlew02
aaronlew02 added this pull request to stack #1290 September 9, 2026 18:37
Comment thread sigstore-java/src/main/java/dev/sigstore/tuf/model/TufGsonSupplier.java Outdated
Comment thread sigstore-java/src/main/java/dev/sigstore/json/GsonByteArrayAdapter.java Outdated
loosebazooka
loosebazooka previously approved these changes Sep 10, 2026

@loosebazooka loosebazooka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this is fine, just some minor comments.

Comment thread sigstore-java/src/main/java/dev/sigstore/tuf/model/TufGsonSupplier.java Outdated
Signed-off-by: Aaron Lew <64337293+aaronlew02@users.noreply.github.com>
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