-
-
Notifications
You must be signed in to change notification settings - Fork 86
Overhaul ValuesJsonConverter #109
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
RehanSaeed
merged 19 commits into
RehanSaeed:master
from
Turnerj:refactoring-valuesjsonconverter
Dec 19, 2019
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
4589fd0
Initial refactor of ValuesJsonConverter
Turnerj 908d9e6
Remove branch logic for casting to OneOrMany
Turnerj bb28364
Improve memory allocation for writes
Turnerj 7df50c5
Updating enum string URI logic
Turnerj 3c34f84
Improving hot path for serialization
Turnerj 33ce37f
Use reader directly instead of JToken
Turnerj f6b24cc
Prevent list allocation for single item
Turnerj 58cc155
Added missing success marker
Turnerj 536a53a
Better support for external types
Turnerj d4f08f5
Add GUID-from-string support
Turnerj a3eb4d3
Adds full support for implicit external types in any namespace
Turnerj 2197c96
Add TimeSpan support for reads
Turnerj b073901
Add support for implicit array conversion
Turnerj 86c4c66
Add write tests for time-related types
Turnerj 1d40a8a
Add support for TimeSpan as ISO 8601 duration
Turnerj 1b0f726
WriteObject to only take individual items
Turnerj 280d05e
TimeSpan converter doesn't need to handle reads
Turnerj a546cac
Moved model classes to separate folder
Turnerj 6dc7814
Updated test naming to make intention clearer
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
Add TimeSpan support for reads
- Loading branch information
commit 2197c963789f666d6aae4582c4deb5ac264984ff
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if
Guidshould also be here, if we are checking a bunch of types? Not that schema.org has any Guid types (that I know of) but people might want to create custom types with Guids.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, GUID might be a good one to add and wouldn't be hard to do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added in d4f08f5 including test.