Closed qiaojianjack closed 7 years ago
When I do prettify on { "float": 1.0 }
{ "float": 1.0 }
It becomes
{ "float": 1 }
which should have been
This is troublesome when I try to pretty format a lot of the data modeling language dumps (such as Apache Avro records), because the .0 there matters for the encoders in that language to recognize the value as not integer.
This is a duplicate of #46, see the discussion there for more details. Sadly the is no solution for this issue.
When I do prettify on
{ "float": 1.0 }
It becomes
which should have been
This is troublesome when I try to pretty format a lot of the data modeling language dumps (such as Apache Avro records), because the .0 there matters for the encoders in that language to recognize the value as not integer.