This repository has been archived by the owner on Nov 8, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Add auto encoder/decoder #30
Closed
alfonsogarciacaro
wants to merge
21
commits into
MangelMaxime:master
from
alfonsogarciacaro:reflection
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
d4fbbe0
Update dependencies
alfonsogarciacaro c9084af
Simplify JS interop
alfonsogarciacaro 69c0aec
Add auto decoder
alfonsogarciacaro 52069ef
Remove allFiles option in splitter config
alfonsogarciacaro da121e6
Better reflection
alfonsogarciacaro 6be5b29
Add test for nested lists
alfonsogarciacaro bdacb30
Add auto encode/decode to Json.Net
alfonsogarciacaro de99653
Uniform APIs
alfonsogarciacaro 839e6ef
Update Fable and other improvements
alfonsogarciacaro c63ab28
Update to Fable 2.0.0-alpha-001 and uniform API
alfonsogarciacaro 91d3d13
Fix decoding of recursive types
alfonsogarciacaro f53ca7a
Automatically cache Newtonsoft.json converters
alfonsogarciacaro 5b385a1
Moar fixes
alfonsogarciacaro 978e855
Add camelCase support for Decode.Auto
7403c42
Add camelCase support on Thoth.json.Net.Decode
3195901
Use slicing instead of Seq.map for lowercase
03d7356
Fix yarn.lock after rebase
24d95ad
Fix issues
alfonsogarciacaro c8d606c
Add some decoders
alfonsogarciacaro 455bf3f
Update Fable
alfonsogarciacaro 41b15cd
Use decoders also in Thoth.Json.Net.Decode
alfonsogarciacaro 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
Automatically cache Newtonsoft.json converters
- Loading branch information
commit f53ca7a37e11b9b129e969a3883a210ca95eb92c
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
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
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.
@alfonsogarciacaro Can you please explain me what this type 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.
It"s necessary to have a type in order to use static members for optional arguments (in Thoth.Json,
ITypeResolver
). Here I"m just using it to have the same API surface as Thoth.Json, but I guess a module should also work (we don"t need the injectable optional argument on the .NET side).