diff --git a/src/storm/storage/jani/JSONExporter.cpp b/src/storm/storage/jani/JSONExporter.cpp index 8259229fc..ca9bb2989 100644 --- a/src/storm/storage/jani/JSONExporter.cpp +++ b/src/storm/storage/jani/JSONExporter.cpp @@ -1118,7 +1118,11 @@ namespace storm { // Unset model-features that only relate to properties. These are only set if such properties actually exist. modelFeatures.remove(storm::jani::ModelFeature::StateExitRewards); - + if (formulas.empty()) { + jsonStruct["properties"] = modernjson::json(modernjson::json::value_t::array); + return; + } + uint64_t index = 0; for(auto const& f : formulas) { modernjson::json propDecl;