VBA-tools/VBA-JSON

No leading zero before decimal point: Conformance issue with ECMA-404

genezx opened this issue · 0 comments

Dim a As New Dictionary, s As String
a("b") = 0.123
a("c") = -0.234
s = ConvertToJson(a)
Debug.Print s
' Output: {"b":.123,"c":-.234} which is invalid because ECMA-404 does not allow numbers starting with decimal point.