Can json Datasource hold/contain an Image?
Hai guys,
I have list of images(not image paths) retrieved from sql server database... I am converting that datatable to json... My q开发者_C百科uestion
- Can json Datasource hold/contain an Image?
If so how to do it... Any suggestion..
From json.org:
JSON does not have a <[CDATA[]]> feature, so it is not well suited to act as a carrier of sounds or images or other large binary payloads.
You could try base64 encoding the data. Some other alternatives are described in this question.
精彩评论