forked from MarcosLopezC/LightJson
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
204be91
commit 39b0195
Showing
6 changed files
with
279 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[*.cs] | ||
indent_style = tab | ||
indent_size = tab | ||
tab_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace LightJson; | ||
|
||
public static class JsonOptions | ||
{ | ||
/// <summary> | ||
/// Gets or sets a value that indicates whether a property's name uses a case-insensitive comparison when getting | ||
/// values. | ||
/// </summary> | ||
public static bool PropertyNameCaseInsensitive { get; set; } = false; | ||
|
||
/// <summary> | ||
/// Gets or sets whether the JSON serializer should throw an exception when trying to convert a value to an invalid type. | ||
/// </summary> | ||
public static bool ThrowOnInvalidCast { get; set; } = false; | ||
} |
Oops, something went wrong.