Use ## for comments, just in case
This commit is contained in:
@@ -341,7 +341,8 @@ public class ContentParser{
|
||||
if(contentTypes.isEmpty()){
|
||||
init();
|
||||
}
|
||||
json = json.replaceAll("#.*?\n","\n");
|
||||
//add comments starting with #
|
||||
json = json.replaceAll("##.*?\n","\n");
|
||||
|
||||
JsonValue value = parser.fromJson(null, json);
|
||||
if(!parsers.containsKey(type)){
|
||||
|
||||
Reference in New Issue
Block a user