don't strip comments when validating JSON (#654)
This commit is contained in:
parent
192c54b71c
commit
2b68b06729
|
@ -97,7 +97,8 @@ namespace StardewModdingAPI.Web.Controllers
|
|||
{
|
||||
parsed = JToken.Parse(paste.Content, new JsonLoadSettings
|
||||
{
|
||||
DuplicatePropertyNameHandling = DuplicatePropertyNameHandling.Error
|
||||
DuplicatePropertyNameHandling = DuplicatePropertyNameHandling.Error,
|
||||
CommentHandling = CommentHandling.Load
|
||||
});
|
||||
}
|
||||
catch (JsonReaderException ex)
|
||||
|
|
Loading…
Reference in New Issue