Bug - import/export now output JSON as individual objects

* For JSON as array, json.array=1 behaves as before
* Tests and add-on scripts used in import tests were updated
This commit is contained in:
Renato Alves 2014-10-20 20:21:11 +01:00
parent b569504139
commit d49a2614ba
6 changed files with 11 additions and 8 deletions

View file

@ -125,7 +125,7 @@ while (my $todo = <>)
push @tasks, $json;
}
print "[\n", join (",\n", @tasks), "\n]\n";
print "[\n", join ("\n", @tasks), "\n]\n";
exit 0;
################################################################################

View file

@ -117,7 +117,7 @@ while (my $yaml = <>)
}
}
print "[\n", join (",\n", @tasks), "\n]\n";
print "[\n", join ("\n", @tasks), "\n]\n";
exit 0;
################################################################################