git-svn-id: https://svn.osgeo.org/grass/grass/trunk@70726 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -667,7 +667,8 @@ void what(struct Map_info *Map, int nvects, char **vect, double east,
fprintf(stdout, "Type=Area\n");
break;
case OUTPUT_JSON:
- fprintf(stdout, ",\n\"Type\": \"Area\"");
+ fprintf(stdout, "%s\n\"Type\": \"Area\"",
+ multiple ? "" : ",");
default:
fprintf(stdout, _("Type: Area\n"));