fix: #142 Merge branch 'issue-142'

This commit is contained in:
ToruNiina 2020-11-03 21:05:03 +09:00
commit b13065b1b5

View File

@ -704,7 +704,7 @@ struct serializer
bool is_array_of_tables(const value_type& v) const
{
if(!v.is_array()) {return false;}
if(!v.is_array() || v.as_array().empty()) {return false;}
return is_array_of_tables(v.as_array());
}
bool is_array_of_tables(const array_type& v) const