Closed ghost closed 5 years ago
Can you please post the JSON you used when you received this error? Remember, you need to have only valid JSON selected and nothing else
This code generates the error:
{ "Some object": { "Comment": "Error if this is null", "Name": null } }
Change null
to a string and there is no error.
This issue is resolved in the 1.6.0
release.
[Enter steps to reproduce:]
Atom: 1.27.1 x64 Electron: 1.7.15 OS: Mac OS X 10.13.4 Thrown From: json-sort package 1.3.0
Stack Trace
Uncaught TypeError: Cannot convert undefined or null to object
Commands
Non-Core Packages