UNPKG

jsonfieldexplorer

Version:

Node.js tool to efficiently explore and list all field paths in a JSON object. Perfect for understanding complex JSON structures, it recursively analyzes JSON data to provide a clear summary of nested fields and arrays.

12 lines (8 loc) 367 B
# v0.1.5 - Feature: handle optional value in array - Feature: add `quiet` option to suppress the output - docs: update benchmark # v0.1.3 - Bug: Handle different structure between items in array. E.g: [{a: true}, {b: true}] - Feature: Show type of the value for each path. If multiple types, show separated by a `|`. - Tests: Added tests to cover the basic cases.