mozilla-services/heka — pull request #429 by rhysh (2013-09-17 20:43:47+00:00)
Title: Keep json numbers as strings in PayloadJsonDecoder

When a json number gets unmarshaled into an interface{}, it's interpreted
as a float64. When this gets converted back to a string (a few lines later),
it's forced to the format "%0.9f", which adds nine zeros after integer
values. Package encoding/json allows us to skip the two conversion steps,
which allows integers to remain integers.