Json Tests

Examples

  1. isSupported
  2. dump
  3. load
  4. hook

isSupported

GO!

dump

{a:2,
   b:['asdf',55,{f:9}],
   day:new Date()
  }

GO!

load

This examples converts an object to json then parses the string and then converts that result back to json for display.

{"a":2,"b":["asdf",55,{"f":9}],"day":"2007-01-10T21:10:40"}

GO!

hook

This examples converts an object to json then parses the string and then converts that result back to json for display.

{"a":2,"b":["asdf",55,{"f":9}],"day":"2007-01-10T21:10:40"}

GO!