How do I know if a variable is JSON or if it is something else? Is there a JQuery function or something I can use to figure this out?
You can use [json2.js] from Douglas Crockfords JSON Github site to parse it.