开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜