toml4j icon indicating copy to clipboard operation
toml4j copied to clipboard

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

Open drunderscore opened this issue 3 years ago • 0 comments

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.

drunderscore avatar Feb 27 '22 23:02 drunderscore