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.
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.