Thanks, the links now work.
I didn't pick up on the ", but with limitation of maximum object depth 1" issue and I need to handle objects with depth > 1.
After some more searching I found this article which is a collection of code snippets. tfzx.net/article/499097.html
The code that worked for me is:
var allKeys = []; JSON.stringify( json, function( key, value ){ allKeys.push( key ); return value; } ) allKeys.sort();
which is from: stackoverflow.com/a/53593328/91300
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks, the links now work.
I didn't pick up on the ", but with limitation of maximum object depth 1" issue and I need to handle objects with depth > 1.
After some more searching I found this article which is a collection of code snippets. tfzx.net/article/499097.html
The code that worked for me is:
which is from: stackoverflow.com/a/53593328/91300