I nearly lost some CLAMs earlier due to a JSON typo:

> createrawtransaction '[{"txid":"deadbeef","vout":1}]' '{"xADDR1":5},"xADDR2":555}'

Note the typo'ed '}' after the 5. The 555 was silently ignored, and the command succeeded. Bad JSON like this should be an error.
Merge branch 'disallow_trailing_json_junk' into mystuff