Skip to content

Add Toml#to(Class<T>, Gson) to allow a custom Gson for deserialization - #79

Open
drunderscore wants to merge 1 commit into
mwanji:masterfrom
drunderscore:feature/allow-custom-gson-instance-for-deserialization
Open

drunderscore wants to merge 1 commit into
mwanji:masterfrom
drunderscore:feature/allow-custom-gson-instance-for-deserialization

Conversation

@drunderscore

Copy link
Copy Markdown

Using GsonBuilder, you can register custom serializers/deserializers, and create a Gson instance. This allows someone to use that custom Gson instance when deserializing with Toml#to.

I haven't added any tests, I'll add some soon.

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