开发者

serialize java objects to objective c plist

I have a java web server (google ap开发者_开发知识库p engine to be precise) and which works with an iPhone app written in objective C. I'd like to transfer data from the server to the client - specifically I'd like to serialize my plain old java objects to an objective c plist string so that it can be easily parsed by the client iphone. Are there any libraries that do this so that I don't have to write this serialization by hand?

As a bonus - is there a way in objective c to read this plist string and have it parsed correctly so that it deserializes into an objective c object?


Apache Commons Configuration supports input/output in plist format. You might take a look at the API to see if it will suit your needs.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜