Json.Net (test with 4.5 and 5 version) wrong serialize Bitmap object:
"Photo": {
"viewMap": {},
"ImageBitmap": "System.Drawing.Bitmap",
"FileName": "1",
"Extension": "jpg",
"Category": "employee",
"Id": 1
},
The field ImageBitmap is System.Drawing.Bitmap and not the value in Base64, why?
Comments: It's not a byte[]
"Photo": {
"viewMap": {},
"ImageBitmap": "System.Drawing.Bitmap",
"FileName": "1",
"Extension": "jpg",
"Category": "employee",
"Id": 1
},
The field ImageBitmap is System.Drawing.Bitmap and not the value in Base64, why?
Comments: It's not a byte[]