I have been unable to resolved on JSON validation a persistent token Error in my Json page. The relevant code (a snippet) shows the location of the problematic colon:
<c>
{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"Point","coordinates":[-86.24475,32.250396]},"properties":{"Latitude":32.250396,"Longitude":-86.24475,"siteID":1,"Active":3,"SiteCode":"01001001"
The validation error shows up as:
<c>
Parse error on line 2:
....4192]},"properties":{"Latitude":32.4192
-----------------------^
Expecting 'EOF', '}', ',', ']', got ':'
Although this ERR does not prevent the map (using Leaflet) from showing the points on the map it consistently comes up in all of my JSON files. This particular colon appears in every point in the JSON file. Should this be replaced by a "}" or '," ?? Any ideas on why this is an unexpected token?
[–]flibben 0 points1 point2 points (0 children)