json-reflect is a simple lib to help you process your JSON objects by showing you the structure.
You can simply use
const jsonref = require( 'json-reflect' );
console.log( jsonref.findStructure( jsonObj ) );
json-reflect is a simple lib to help you process your JSON objects by showing you the structure.
You can simply use
const jsonref = require( 'json-reflect' );
console.log( jsonref.findStructure( jsonObj ) );