-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
When printing a Measument
to JSON, the resulting file in not valid due to ±
sign.
using Measurements
using JSON
begin
open("test.json", "w") do io
JSON.print(io, Dict("value" => 1.1 ± 3.3))
end
#
open("test.json") do io
JSON.parse(io)
end
end
throws,
Expected ',' here
...when parsing byte with value '194'
posted here
JuliaIO/JSON.jl#375
It might turn out not JSON problem, rather Measurements.jl problem, since JSON.jl
does not have rules for customary objects.
Metadata
Metadata
Assignees
Labels
No labels