An upcoming change to Go 1.7 allows the json package to be able to encode maps with the integer keys. Thus, this is no longer a good way to generate intentional JSON failures. Reference: f05c3aa24d
f05c3aa24d