sexytopo icon indicating copy to clipboard operation
sexytopo copied to clipboard

None of the files generated by SexyTopo pass JSON validation

Open JPCASSOU opened this issue 8 months ago • 1 comments

Files generated by SexyTopo: None of these files pass JSON validation SexyTopo can be corrupt JSON files

by https://jsonlint.com/

Croignon.ext-elevation.json { "paths": [], "labels": [], "symbols": [], "x-sections": [] }s": [] }

Croignon.plan.json { "paths": [], "labels": [], "symbols": [], "x-sections": [] }s": [] }

Croignon.metadata.json:

Error: Parse error on line 18680: ... } ]} "distance": 3.599999 --------------------^ Expecting 'EOF', '}', ',', ']', got 'STRING'

{ "active-station": "286.3", "connections": {} } }

Croignon.data.json:

"distance": 7.139999866485596, "azimuth": 234, "inclination": 0, "destination": "286.2", "wasShotBackwards": false, "index": 1176, "promotedFrom": [] } ] }, { "name": "286.2", "eeDirection": "right", "comment": "", "legs": [] } ] } "distance": 3.5999999046325684, "azimuth": 255, "inclination": 0, "destination": "286.3", "wasShotBackwards": false, "index": 1177, "promotedFrom": [] } ] }, { "name": "286.3", "eeDirection": "right", "comment": "", "legs": [] } ] } {

Following GHTopo generated files passes JSON validation but causes warnings loading in SexyTopo

Croignon_ghtopo.ext-elevation.json Croignon_ghtopo.metadata.json Croignon_ghtopo.plan.json Croignon_ghtopo.data.json

JPCASSOU avatar Jun 13 '24 14:06 JPCASSOU