Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 5th, 2012  |  syntax: None  |  size: 0.33 KB  |  hits: 8  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to parse/use this JSON in Javascript
  2. {
  3. "Rows":
  4.     [
  5.         {
  6.             "New":1,
  7.             "CachedNumberType":0,
  8.             "Date":1327479615921,
  9.             "Type":2,
  10.             "Number":"123456",
  11.             "Duration":1
  12.         }
  13.     ]
  14. }
  15.        
  16. var jsonObj = JSON.parse(jsonString);
  17.        
  18. var obj = jQuery.parseJSON(json);