1

I'm trying to chase a bug where Jackson serializes some class ApiDeclaration { String apiVersion ... private JSONObject models } as {"apiVersion":"1.0.0", ..., "models"}" - note that "models" is a JSON key with the ':' and value missing!

This is in app where this worked before, and it's possible that a recent upgrade from Jackson 2.3.2 -> 2.7.4 may have broken this for us.

Does application code have to something particular for a "mixed bean" (i.e. a static Java class with some 'normal' fields but also a JSONObject) ?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.