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

http://php.net/manual/en/function.json-encode.php

JSON encoding in Ruby on Rails

data_structure.to_json

JSON encoding in Java

http://json.org/java/

JSON encoding in Python

http://docs.python.org/library/json.html

JSON encoding in C#

http://stackoverflow.com/questions/331976/how-do-i-serialize-a-c-anonymous-type-to-a-json-string