Quantcast
Channel: Json.NET
Viewing all articles
Browse latest Browse all 1767

Closed Unassigned: Error converting value "System.Drawing.Bitmap" to type 'System.Drawing.Bitmap' [24549]

$
0
0
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[]

Viewing all articles
Browse latest Browse all 1767

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>