Add support for IJsonDocument ser/deser (FSharp.Data)
See original GitHub issueOne or more errors occurred. (Deserialization of interface types is not supported. Type 'FSharp.Data.Runtime.BaseTypes.IJsonDocument'. Path: $ | LineNumber: 0 | BytePositionInLine: 1.)
JsonProvider from FSharp.Data needs this type if it’s used to build shared DTOs between client and server.
is it possible to support this specific interface type serialization/deserialization ?
would be handy
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
JsonDocument (FSharp.Data)
JsonDocument Type. Namespace: FSharp.Data.Runtime.BaseTypes; Assembly: FSharp.Data.Json.Core.dll ... Returns: IJsonDocument. JsonDocument.Create(value, path).
Read more >FSharp.Data: Data Access Made Simple
The FSharp.Data package implements core functionality to access common data formats in your F# applications and scripts. It contains F# type providers for ......
Read more >JSON Type Provider
JSON Type Provider. This article demonstrates how to use the JSON Type Provider to access JSON files in a statically typed way.
Read more >IJsonDocument (FSharp.Data)
IJsonDocument Type. Namespace: FSharp.Data.Runtime.BaseTypes; Assembly: FSharp.Data.Json.Core.dll; Base Type: obj; All Interfaces: IJsonDocument ...
Read more >internal error: Could not load type 'FSharp.Data.Runtime. ...
I did a nuget restore and now I am getting this exception: error FS0193: internal error: Could not load type 'FSharp.Data.Runtime.IJsonDocument' ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, in fact this is something that would be useful for all System.Text.Json users, not just Bolero. A library
FSharp.Data.SystemTextJson
that provides aSystem.Text.Json
converter forJsonValue
would be the way to go I think.Ah yes true you are right, could be a separate assembly/library. To avoid lock in dependency