This is the first time that I try to handle binary data so I'm quite new to this. I'm writing a REST service for uploading stuff, and I'm going to receive a Base64 encoded String.
I've found this (standard Java), and I've also found an internal Spring class (bad idea).
Is there a Jackson annotation to automatically decode a property from Base64? Should I use String or byte[] in my Object?
I'm also using Spring MVC 3, so it will be ok to have a class from the Spring framework to do this.
[please, no Apache Commons. I would like to find a solution without adding more stuff]