FSharp.JsonApi
2.0.0-alpha-07
See the version list below for details.
dotnet add package FSharp.JsonApi --version 2.0.0-alpha-07
NuGet\Install-Package FSharp.JsonApi -Version 2.0.0-alpha-07
<PackageReference Include="FSharp.JsonApi" Version="2.0.0-alpha-07" />
paket add FSharp.JsonApi --version 2.0.0-alpha-07
#r "nuget: FSharp.JsonApi, 2.0.0-alpha-07"
// Install FSharp.JsonApi as a Cake Addin #addin nuget:?package=FSharp.JsonApi&version=2.0.0-alpha-07&prerelease // Install FSharp.JsonApi as a Cake Tool #tool nuget:?package=FSharp.JsonApi&version=2.0.0-alpha-07&prerelease
Use F# to create and consume flexible, strongly typed web APIs following the JSON-API specification.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- FSharp.Core (>= 4.6.0)
- FSharp.JsonSkippable (>= 1.0.0)
- Microsoft.FSharpLu.Json (>= 0.11.5)
- Newtonsoft.Json (>= 12.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on FSharp.JsonApi:
Package | Downloads |
---|---|
FSharp.JsonApi.AspNetCore
Use F# to create and consume flexible, strongly typed web APIs following the JSON:API specification. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.1.1 | 1,400 | 1/6/2020 |
2.1.0 | 614 | 11/8/2019 |
2.0.3 | 523 | 11/6/2019 |
2.0.2 | 506 | 11/6/2019 |
2.0.1 | 969 | 10/31/2019 |
2.0.0 | 884 | 10/30/2019 |
2.0.0-alpha-09 | 608 | 10/17/2019 |
2.0.0-alpha-08 | 397 | 10/14/2019 |
2.0.0-alpha-07 | 368 | 10/11/2019 |
2.0.0-alpha-06 | 527 | 10/9/2019 |
2.0.0-alpha-05 | 381 | 9/26/2019 |
2.0.0-alpha-04 | 368 | 9/26/2019 |
2.0.0-alpha-03 | 443 | 9/24/2019 |
2.0.0-alpha-02 | 600 | 9/23/2019 |
2.0.0-alpha-01 | 595 | 9/19/2019 |
1.4.1 | 509 | 9/26/2019 |
1.4.0 | 690 | 9/16/2019 |
1.3.0 | 540 | 9/12/2019 |
1.2.0 | 498 | 9/12/2019 |
1.1.0 | 511 | 9/11/2019 |
1.0.3 | 904 | 9/10/2019 |
- Breaking: Removed SimpleResource and related methods/extensions on JsonApiContext. Use Resource.attributesOrDefault and Resource.relationshipsOrDefault instead to get a (possibly default) attribute/relationship instance from a resource.
- Breaking: Added RequestDocumentError.UnknownMainResourceType
- Breaking: JsonApiContext.GetResource and the JsonApiContext.Parse overload returning a resource discriminator now return errors if the resource type is unknown. The signature of the former method is changed; the latter is a behaviour change only.
- Breaking: Renamed Query to QueryParser, added static methods to create an instance with a query parameter map or HttpContext, and changed most methods to instance members that do not depend on a query parameter map or HttpContext
- Breaking: JsonApiContext.create now throws on invalid attribute and relationship names. Use the new AllowIllegalNameAttribute to disable the check for specific attributes/relationships.
- Added Setter type with helper methods to chain and lift normal "immutable setter" functions to accept parsed, possibly optional arguments, combining any errors.
- Added JsonApiContext methods RequireResource, WithAllReadOnly, ToDiscriminator, FromDiscriminator, and SerializeAndGetBytes
- Added JsonApiContext overloads for ParseRequired, WithReadOnly, WithWriteOnly, and WithNotNull
- Added async overloads for ResourceBuildContext methods GetAttribute and GetExplicitAttribute
- Fixed Uri.addQuery and Uri.setQuery not behaving correctly for multiple identical query keys and for query keys that only differ by case
- Serializes Uri's to canonical format using Uri.ToString() instead of Uri.OriginalString which is normally used by Newtonsoft.Json.