{"action":"opened","issue":{"url":"https://api.github.com/repos/OSGeo/gdal/issues/970","repository_url":"https://api.github.com/repos/OSGeo/gdal","labels_url":"https://api.github.com/repos/OSGeo/gdal/issues/970/labels{/name}","comments_url":"https://api.github.com/repos/OSGeo/gdal/issues/970/comments","events_url":"https://api.github.com/repos/OSGeo/gdal/issues/970/events","html_url":"https://github.com/OSGeo/gdal/issues/970","id":367360777,"node_id":"MDU6SXNzdWUzNjczNjA3Nzc=","number":970,"title":"GDAL 2.3.2 (at least) no longer rejects (Geo)JSON with missing comma","user":{"login":"simoneves","id":714352,"node_id":"MDQ6VXNlcjcxNDM1Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/714352?v=4","gravatar_id":"","url":"https://api.github.com/users/simoneves","html_url":"https://github.com/simoneves","followers_url":"https://api.github.com/users/simoneves/followers","following_url":"https://api.github.com/users/simoneves/following{/other_user}","gists_url":"https://api.github.com/users/simoneves/gists{/gist_id}","starred_url":"https://api.github.com/users/simoneves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simoneves/subscriptions","organizations_url":"https://api.github.com/users/simoneves/orgs","repos_url":"https://api.github.com/users/simoneves/repos","events_url":"https://api.github.com/users/simoneves/events{/privacy}","received_events_url":"https://api.github.com/users/simoneves/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-05T20:38:33Z","updated_at":"2018-10-05T20:38:33Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n\r\nQuestions should go to the gdal-dev mailing list (https://lists.osgeo.org/mailman/listinfo/gdal-dev)\r\nor other support forums. GitHub issues are for bug reports and suggestions\r\nfor new features.\r\n-->\r\n\r\n## Expected behavior and actual behavior.\r\n\r\nI created a GeoJSON file manually, and inadvertently missed out a comma in the middle of a MultiPolygon data block.\r\n\r\nTurns out GDAL 2.3.2 (either through the API or just with `ogrinfo`) does not care and reads the data correctly anyway.\r\n\r\nGDAL 2.2.3 (Ubuntu system version) reports the error:\r\n\r\n`ERROR 1: JSON parsing error: array value separator ',' expected (at offset 1863)`\r\n\r\nI believe 2.3.x uses a different JSON parser, so there may be a problem with that.\r\n\r\n## Steps to reproduce the problem.\r\n\r\nThe file is attached. Note the missing comma before the last point of the last MultiPolygon.\r\n\r\n## Operating system\r\n\r\nUbuntu 18.0.4\r\n\r\n## GDAL version and provenance\r\n\r\n2.3.2 release (self-built)\r\n"}}
{"actor":{"display_login":"simoneves"}}