Friday, October 7, 2011

JSON!

I converted the chat protocol to use JSON messages. It was much easier and straight-forward than implementing my binary protocol.

I implemented JSON parsing and encoding with JSON.simple on the Java server side. Thanks to Robert from Rojotech for his article A Review of 5 Java JSON Libraries which really helped me to choose JSON.simple over all the other JSON libraries out there.

No comments:

Post a Comment