How to use python (3.5) json standard library to print floats with trailing zeros?
import json
to_be_serialized = {'something': 0.020}
print(json.dumps(to_be_serialized))
{"something": 0.02} # desired output: {"something": 0.020}
I tried this but unfortunately without desired result.