Backblaze / b2-sdk-java

The official Java SDK for using Backblaze's B2 Storage APIs
Other
94 stars 25 forks source link

B2Json: Allow generic types for top-level objects from select entry points #109

Closed tiwijo closed 4 years ago

tiwijo commented 4 years ago

This allows the user to supply type information to aid in B2JsonTypeHandler resolution for the top-level object. If the type information is not supplied, B2Json falls back to the existing behavior of resolving by class.

The first commit is a small refactor. Second is the feature. Third is a test.