-
Type: New Feature
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Import/Export
-
None
From googling to triage COMPASS-3727
1. Show detailed error message of why my JSON is invalid.
https://www.npmjs.com/package/jsonlint provides output like:
Error: Parse error on line 1: ...esentiustoodio.us"}{"_id":{"$oid":"5864 ----------------------^ Expecting 'EOF', '}', ',', ']', got '{'
2. Handle invalid dirty JSON automatically.
Needs more googling (search for dirty || loose JSON parsing) but have used npm modules in the past that can handle typos like the above without the user needing to fix and try again.
- causes
-
COMPASS-3829 Import JSON
- Closed
- is caused by
-
COMPASS-3727 Can't Import JSON
- Closed