Add extra verification when creating JSON editor to avoid to look for an element in an empty array
Add extra verification when creating JSON editor to avoid to look for an element in an empty array

josdejong/jsoneditor,josdejong/jsoneditor