windows-mobile-6.5

json deserializing and serializing in windows mobile 6.5


In my windows mobile application i would like to deserialize and serialize JSON objects. Have searched but could not find any.Could anyone please let me know if there is any API support or how can i do it if manually needs to be done.

Please share your valuable suggestions.

Thanks in advance :)


Solution

  • I'd suggest https://github.com/lloyd/yajl: it has windows build instructions and uses only ANSI C. I've in the past built it for Windows Mobile 6 projects, and it works well. The examples show how you can parse from a byte array, and it also support serializing a structure to a character array.