diff options
-rw-r--r-- | src/SMAPI.Web/Controllers/JsonValidatorController.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SMAPI.Web/Controllers/JsonValidatorController.cs b/src/SMAPI.Web/Controllers/JsonValidatorController.cs index 31471141..b2eb9a87 100644 --- a/src/SMAPI.Web/Controllers/JsonValidatorController.cs +++ b/src/SMAPI.Web/Controllers/JsonValidatorController.cs @@ -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) |