sdawood / json-tots

JSON Template of Templates
MIT License
9 stars 4 forks source link

array mapping needs a null check #8

Closed ynmanware closed 5 years ago

ynmanware commented 5 years ago

Examples: ['{%%{a.b.someArray}}', '{{["name", "age"]}}'], Note: $a.b.someArray has to be an Array.

if a or b or someArray is null then the code breaks. is there any workaround or it needs a fix?

ynmanware commented 5 years ago

it is raised and addressed already.