-
-
Notifications
You must be signed in to change notification settings - Fork 84
Switch to System.Text.Json #100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
e20a62d
Add core System.Text.Json support
Turnerj 60dc367
Updated benchmarks to use S.T.J
Turnerj 2bf322e
Updated tests to use S.T.J
Turnerj 49cf046
Use 6.0.0-preview.2 of S.T.J
Turnerj fefb1aa
Use correct attribute for tests
Turnerj e0699e6
Removed unused using
Turnerj 78a860d
Fixed support for time of day
Turnerj 57ed1cf
Added tests for extended type converters
Turnerj c409839
Update S.T.J to v6.0.0-preview.5
Turnerj e7e79bf
Switched DataMember to JsonPropertyName
Turnerj 8a091ac
Updated to S.T.J Preview 6
Turnerj b442944
Update to S.T.J Preview 7
Turnerj d846641
Re-add JSON property order
Turnerj 04b27ef
Ignore casing for escape test
Turnerj ea066db
Allow trailing commas
Turnerj 7705f71
Apply serializer settings for deserialization
Turnerj 8e20564
Support EnumMember for schema enum serialization
Turnerj 5f1f2f0
Decimal and double values to truncate trailing zeroes
Turnerj 5886f88
Fixing build warnings and errors
Turnerj 99e9570
Force serialization of non-public setter for JsonLdContext
Turnerj 048fedc
Addressing major feedback items
Turnerj 2e75bb3
Removed unnecessary null-checks
Turnerj d2dffea
Use VS 2022 for solution version
Turnerj 1ec52c1
Use RC1 version of System.Text.Json
Turnerj df836cb
Include prereleases for SDK installs
Turnerj d7ffe22
Fix compilation error with null checks
Turnerj 47a3727
Update S.T.J to final v6.0.0
Turnerj 4743388
Fix constant usage
Turnerj 017d2cb
Remove pre-release requirement for build
Turnerj e7d3ae8
Minor bugfix for enum parsing
Turnerj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,18 @@ | ||
namespace Schema.NET | ||
{ | ||
/// <summary> | ||
/// Various constants for use within Schema.NET | ||
/// </summary> | ||
public static class Constants | ||
{ | ||
/// <summary> | ||
/// The HTTPS URL for Schema.org, excluding trailing slash. | ||
/// </summary> | ||
public const string HttpsSchemaOrgUrl = "https://schema.org"; | ||
|
||
/// <summary> | ||
/// The HTTP URL for Schema.org, excluding trailing slash. | ||
/// </summary> | ||
public const string HttpSchemaOrgUrl = "http://schema.org"; | ||
} | ||
} |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.