public class Profile {
private String profId;
private byte[] image;
....
}
I debugged and everything is fine till I return the mav ( it has the byte array[])
[-119, 80, 78, 71, 13, 10, -26, 10, 0, 0, 0, 13, 73, 72, 68,...,46,89]
But when I checked the JSON response on browser it got string instead of array
{
"prof": {
"profId": "Test123",
"image": "-1198078711310-261000013737268...4689",
"cretDt": "06-19-2013 12:16:25",
"state": 6002,
"stateName": "Approved"
}
}
Join the byte.
Can some one help me hot to get the byte[] or encoded in Base64 again on my browser.