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#


You may adjust your notification preferences at any time

Minimum 6 characters; at least one number and one capital letter

If you become a seller on Bonanza, this information will become part of your public profile

New to Bonanza? Sign up to save items, follow sellers and get exclusive coupons.

Don't worry - Bonanza respects your inbox. We send less email and make it easy to opt out. Read our privacy policy »