开发者

Save .JSON using Java ME

I have used toJSON() to convert java to json. How do I save that json data as a .json file开发者_如何转开发?

I am using blackberry and Java me. Does anyone has any idea?


Isn't .json just an ordinary text-file containing your "json-ified" objects? What you need is an textfile where you write the output from the toJSON() method. How that is done is explained here:

J2ME/Blackberry - how to read/write text file?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜