-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade Newtonsoft.Json to v13.0.2. | Continue Development for JsonAp…
…iSerializer (#145) * fix deprecated licenseUrl and replace with license string * update newtonsoft.json to latest stable and update target frameworks accordingly * upgrade dependencies to the latest version and bump target frameworks * fix wrong target framework for unit tests * target netstandard2.0 to ensure compatibility with .net framework 4.6.1+ as well as .NET 6+ * set the default c# to 7.3 for improved backwards compatibility with .net framework * fix typos and missing references in comments and doc blocks * remove unused or unnecessary using statements * replace MemberConverter with Converter * Bump major version number --------- Co-authored-by: wavedeck <[email protected]> Co-authored-by: Alex Davies <[email protected]>
- Loading branch information
1 parent
3c40981
commit 48cdec1
Showing
25 changed files
with
68 additions
and
108 deletions.
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
7 changes: 1 addition & 6 deletions
7
src/JsonApiSerializer/ContractResolvers/Contracts/ResourceIdentifierContract.cs
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
4 changes: 1 addition & 3 deletions
4
src/JsonApiSerializer/ContractResolvers/Contracts/ResourceObjectContract.cs
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
8 changes: 1 addition & 7 deletions
8
src/JsonApiSerializer/ContractResolvers/Contracts/ResourceRelationshipContract.cs
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
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
6 changes: 1 addition & 5 deletions
6
src/JsonApiSerializer/JsonApi/WellKnown/IResourceIdentifier.cs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>netstandard1.0;netstandard1.5;net45</TargetFrameworks> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<LangVersion>7.3</LangVersion> | ||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild> | ||
<Version>1.7.4</Version> | ||
<Version>2.0.0</Version> | ||
<Authors>Alex Davies</Authors> | ||
<Company>Codecutout</Company> | ||
<Description>JsonApiSerializer supports configurationless serializing and deserializing objects into the json:api format (http://jsonapi.org).</Description> | ||
<PackageLicenseUrl>https://github.com/codecutout/JsonApiSerializer/blob/master/LICENSE</PackageLicenseUrl> | ||
<PackageLicense>MIT</PackageLicense> | ||
<PackageProjectUrl>https://github.com/codecutout/JsonApiSerializer</PackageProjectUrl> | ||
<PackageTags>jsonapiserializer jsonapi json:api json.net serialization deserialization jsonapi.net</PackageTags> | ||
<AssemblyVersion>1.7.4.0</AssemblyVersion> | ||
<FileVersion>1.7.4.0</FileVersion> | ||
<PackageReleaseNotes>Fixed issue that would cuase stackoverflow errors when handling circular references when `included` section is present before `data`</PackageReleaseNotes> | ||
<AssemblyVersion>2.0.0.0</AssemblyVersion> | ||
<FileVersion>2.0.0.0</FileVersion> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" /> | ||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" /> | ||
</ItemGroup> | ||
</Project> |
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
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
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
5 changes: 1 addition & 4 deletions
5
src/JsonApiSerializer/JsonConverters/ResourceObjectListConverter.cs
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
Oops, something went wrong.