[jQuery] question about dealing with JSON callback

[jQuery] question about dealing with JSON callback


hi! i am trying to use jQuery.post() to send name/value to a php
function which then retreives data from mysql and responds with JSON
which looks like this when i append it directly to my debug output
div:
{"product_id":"000002","product_name":"Cesario
Lo","product_brand":"Creative
rec","product_slug":"slug2","product_description":"description2","product_active":"1","product_type":"shoe","product_gender":"female","product_sizes":"8.5","product_style":"style
2","product_categories":"2","product_shipping":"shipping
2","product_cost":"30.0","product_retail":"60.0"}
i have tried to iterate through the JSON using the jQuery.each():
Query.each(obj, function(i, val) {
etc...
but it is iterating character by character rather than by each pair
best,
jonathan