I'm using the Jackson JSON library within my Android app to parse JSON from a REST API. Everything works fine other than a couple of instances where I'm using ObjectMapper.readValue
and ObjectMapper.treeToValue
to deserialise the JSON to objects. It works fine every time when running the 'debug' build variant, but when running the 'release' build it fails to create the object and just returns null instead.
I've read a lot about ensuring that the Proguard settings are configured properly, but I'm not using Proguard and have removed all references to Proguard in my app. Is there anything else that might be causing the issue with the 'release' build?
Jonathan