John Davis
10/06/2018, 7:54 PMdata class MeasurementCondition(val name: String, val min: Float, val max: Float)
when I serialize it using Klaxon().toJsonString(foo)
it converts the numbers to strings, so I get
[{"max" : "2.0", "min" : "0.5", "name" : "VDD"}, {"max" : "2.2", "min" : "1.1", "name" : "m2"}]
instead of [{"max" : 2.0, "min" : 0.5, "name" : "VDD"}, {"max" : 2.2, "min" : 1.1, "name" : "m2"}]
is that expected?