How do I serialize JSON so I can send it to Bonanza?

At its essence, all that JSON serialization is doing is changing some data structure into a string, so it can be sent over HTML. The semantics of converting your data structure to JSON depend on your language. Note that, if your input contains single or double quotation marks (i.e., if you are submitting description text for an item), you will need to CGI escape your JSON before sending it to Bonanza. Here are some resources we've dug up from around the web for working with JSON:

JSON encoding in PHP

JSON encoding in Ruby on Rails


JSON encoding in Java

JSON encoding in Python

JSON encoding in C#