kwhitley / treeize

Converts row data (in JSON/associative array format) to tree structure based on column naming conventions.
MIT License
189 stars 24 forks source link

Proper null type checking #46

Open jfstgermain opened 6 years ago

jfstgermain commented 6 years ago

Fixes https://github.com/kwhitley/treeize/issues/35.
The old behavior remains if output: {prune: true} (the default prune value) thus, set the prune option to false in order to support null values output: {prune: false}.