m-lab/traceroute-caller

Traceroute Scamper .json should not have double quotes

Closed this issue · 1 comments

The current sample output using "cat" is:

{"schema_version":""1"","uuid":""ndt-cbppg_1589996412_000000000000A94A"","testtime":"0001-01-01T00:00:00Z","start_time":1590086579,"stop_time":1590086579,"scamper_version":""0.1"","serverIP":""4.14.159.101"","clientIP":""4.14.159.86"","probe_size":44,"probec":1,"hop":null,"cached_result":true,"cached_uuid":""ndt-cbppg_1589996412_000000000000A689"","traceroutecaller_commit":""608d1a7""}

The code in tracer/scamper.go use

json.Marshal
ioutil.WriteFile

To create the .json file

Fixed by #77