Merge pull request #38 from shurcooL/add-decodeViaJSON-benchmark

Add decodeViaJSON, benchmark and example (as a test).