diff --git a/bundles/org.eclipse.orion.client.ui/web/plugins/languages/json/parser.js b/bundles/org.eclipse.orion.client.ui/web/plugins/languages/json/parser.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.ui/web/plugins/languages/json/parser.js
+++ b/bundles/org.eclipse.orion.client.ui/web/plugins/languages/json/parser.js
@@ -665,8 +665,8 @@
                     }
                 }
             },
-            onError: function (error) {
-                errors.push({ error: error });
+            onError: function (error, offset, lngth) {
+                errors.push({ error: error, offset: offset, length: lngth });
             }
         };
         visit(text, visitor, options);
Bug <I> - [json] The JSON parser should return location information when an error is encountered