There is an issue in your code, regarding sorting arrays that contain objects.
It could be fixed by firstly sorting those objects recursively, and then sorting array of them. Sorting array could be done by comparing json representation of each object.
I believe (at least according to the API responses I have worked with) only dict keys should be sorted not the arrays. As sometimes, order of arrays matter for the end user and by sorting it is messed up. Or at least it should be optional. Any thoughts???
The package xxx\jsonabc\package.json was successfully found.
However, this package itself specifies a main module field that could not be resolved (xxx\node_modules\jsonabc\dist\jsonabc.js. Indeed, none of these files exist: xxx\jsonabc\dist\jsonabc.js(.native||.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)
I downloaded everything so I could run it locally, but I'm getting an "Incorrect JSON Object" on the below JSON (running it online works just fine). Any suggestions would be greatly appreciated!
I appreciate that your utility can be run standalone, but I am disturbed that a standalone function is calling Google Analytics and Google Syndication. I get error messages if I am not connected to the net. That kind of defeats the concept of "standalone".
Could you please identify if your utility is actually dependent on any of those external sites?
I think the case for sorting should be ignored, otherwise we get something like this:
"Admin": {
"ALREADY_EXISTS": "Already Exists",
"INVALID_DATA": "Invalid Data",
"Users": "Users",
"addUsers": "Add User",
"btnClose": "Close",
"userPopUpTitle": "Edit user",
"user_Name": "Email"
}
or at least give the option to disable it. thanks.