As of jQuery 1.9, $.parseJSON throws an error on invalid input, instead of returning null ( an already correct JSON will throw an error ), so we must only try to parse strings.
Merge pull request #15 from jvelasques/wip

As of jQuery 1.9, $.parseJSON throws an error on invalid input, instead ...