-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from Ali-YousefiTelori/develop
Support for DeserializeFromBytes and SerializeToBytes
- Loading branch information
Showing
20 changed files
with
123 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ jobs: | |
5.0.x | ||
6.0.x | ||
7.0.x | ||
8.0.x | ||
- name: Run dotnet format | ||
id: format | ||
uses: jfversluis/[email protected] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
5.0.x | ||
6.0.x | ||
7.0.x | ||
8.0.x | ||
env: | ||
DOTNET_INSTALL_DIR: /usr/share/dotnet | ||
- name: build and test | ||
|
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
</When> | ||
<Otherwise> | ||
<PropertyGroup> | ||
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net48;net45;net7.0</TargetFrameworks> | ||
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net48;net45;net7.0;net8.0</TargetFrameworks> | ||
</PropertyGroup> | ||
</Otherwise> | ||
</Choose> | ||
|
@@ -17,7 +17,7 @@ | |
<Platforms>AnyCPU;x64;x86</Platforms> | ||
<Authors>EasyMicroservices</Authors> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<Version>0.0.0.8</Version> | ||
<Version>0.0.0.9</Version> | ||
<Description>Serialize and deserialize wrapper</Description> | ||
<Copyright>[email protected]</Copyright> | ||
<PackageTags>Serialize,deserialize</PackageTags> | ||
|
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
</When> | ||
<Otherwise> | ||
<PropertyGroup> | ||
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net48;net7.0</TargetFrameworks> | ||
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net48;net7.0;net8.0</TargetFrameworks> | ||
</PropertyGroup> | ||
</Otherwise> | ||
</Choose> | ||
|
@@ -17,7 +17,7 @@ | |
<Platforms>AnyCPU;x64;x86</Platforms> | ||
<Authors>EasyMicroservices</Authors> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<Version>0.0.0.8</Version> | ||
<Version>0.0.0.9</Version> | ||
<Description>Serialize and deserialize wrapper</Description> | ||
<Copyright>[email protected]</Copyright> | ||
<PackageTags>Serialize,deserialize</PackageTags> | ||
|
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
</When> | ||
<Otherwise> | ||
<PropertyGroup> | ||
<TargetFrameworks>net7.0</TargetFrameworks> | ||
<TargetFrameworks>net7.0;net8.0</TargetFrameworks> | ||
</PropertyGroup> | ||
</Otherwise> | ||
</Choose> | ||
|
@@ -17,7 +17,7 @@ | |
<Platforms>AnyCPU;x64;x86</Platforms> | ||
<Authors>EasyMicroservices</Authors> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<Version>0.0.0.8</Version> | ||
<Version>0.0.0.9</Version> | ||
<Description>Serialize and deserialize wrapper</Description> | ||
<Copyright>[email protected]</Copyright> | ||
<PackageTags>Serialize,deserialize</PackageTags> | ||
|
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
</When> | ||
<Otherwise> | ||
<PropertyGroup> | ||
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net48;net7.0</TargetFrameworks> | ||
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net48;net7.0;net8.0</TargetFrameworks> | ||
</PropertyGroup> | ||
</Otherwise> | ||
</Choose> | ||
|
@@ -17,7 +17,7 @@ | |
<Platforms>AnyCPU;x64;x86</Platforms> | ||
<Authors>EasyMicroservices</Authors> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<Version>0.0.0.8</Version> | ||
<Version>0.0.0.9</Version> | ||
<Description>Serilize and deserilize wrapper</Description> | ||
<Copyright>[email protected]</Copyright> | ||
<PackageTags>Serilize,deserilize</PackageTags> | ||
|
@@ -26,8 +26,10 @@ | |
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | ||
<DocumentationFile>.\bin\$(Configuration)\$(TargetFramework)\EasyMicroservice.Serialization.MessagePack.xml</DocumentationFile> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\EasyMicroservices.Serialization\EasyMicroservices.Serialization.csproj" /> | ||
<PackageReference Include="MessagePack" Version="2.5.140" /> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
</When> | ||
<Otherwise> | ||
<PropertyGroup> | ||
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net48;net452;net7.0</TargetFrameworks> | ||
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net48;net452;net7.0;net8.0</TargetFrameworks> | ||
</PropertyGroup> | ||
</Otherwise> | ||
</Choose> | ||
|
@@ -17,7 +17,7 @@ | |
<Platforms>AnyCPU;x64;x86</Platforms> | ||
<Authors>EasyMicroservices</Authors> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<Version>0.0.0.8</Version> | ||
<Version>0.0.0.9</Version> | ||
<Description>Serialize and deserialize wrapper</Description> | ||
<Copyright>[email protected]</Copyright> | ||
<PackageTags>Serialize,deserialize</PackageTags> | ||
|
@@ -26,8 +26,10 @@ | |
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | ||
<DocumentationFile>.\bin\$(Configuration)\$(TargetFramework)\EasyMicroservice.Serialization.Newtonsoft.Json.xml</DocumentationFile> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\EasyMicroservices.Serialization\EasyMicroservices.Serialization.csproj" /> | ||
<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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
</When> | ||
<Otherwise> | ||
<PropertyGroup> | ||
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net7.0;net48</TargetFrameworks> | ||
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net7.0;net8.0;net48</TargetFrameworks> | ||
</PropertyGroup> | ||
</Otherwise> | ||
</Choose> | ||
|
@@ -17,7 +17,7 @@ | |
<Platforms>AnyCPU;x64;x86</Platforms> | ||
<Authors>EasyMicroservices</Authors> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<Version>0.0.0.8</Version> | ||
<Version>0.0.0.9</Version> | ||
<Description>Serialize and deserialize wrapper</Description> | ||
<Copyright>[email protected]</Copyright> | ||
<PackageTags>Serialize,deserialize</PackageTags> | ||
|
@@ -27,10 +27,21 @@ | |
<DocumentationFile>.\bin\$(Configuration)\$(TargetFramework)\EasyMicroservice.Serialization.System.Text.json.xml</DocumentationFile> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="System.Text.Json" Version="7.0.4" /> | ||
</ItemGroup> | ||
<Choose> | ||
<When Condition=" '$(TargetFramework)' == 'net8.0' "> | ||
<ItemGroup> | ||
<PackageReference Include="System.Text.Json" Version="8.0.0" /> | ||
</ItemGroup> | ||
</When> | ||
<Otherwise> | ||
<ItemGroup> | ||
<PackageReference Include="System.Text.Json" Version="7.0.4" /> | ||
</ItemGroup> | ||
</Otherwise> | ||
</Choose> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\EasyMicroservices.Serialization\EasyMicroservices.Serialization.csproj" /> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
</When> | ||
<Otherwise> | ||
<PropertyGroup> | ||
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net48;net452;net7.0</TargetFrameworks> | ||
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net48;net452;net7.0;net8.0</TargetFrameworks> | ||
</PropertyGroup> | ||
</Otherwise> | ||
</Choose> | ||
|
@@ -17,7 +17,7 @@ | |
<Platforms>AnyCPU;x64;x86</Platforms> | ||
<Authors>EasyMicroservices</Authors> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<Version>0.0.0.8</Version> | ||
<Version>0.0.0.9</Version> | ||
<Description>Serialize and deserialize wrapper</Description> | ||
<Copyright>[email protected]</Copyright> | ||
<PackageTags>Serialize,deserialize</PackageTags> | ||
|
@@ -34,4 +34,5 @@ | |
<ItemGroup> | ||
<ProjectReference Include="..\EasyMicroservices.Serialization\EasyMicroservices.Serialization.csproj" /> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
</When> | ||
<Otherwise> | ||
<PropertyGroup> | ||
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net48;net452;net7.0</TargetFrameworks> | ||
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net48;net452;net7.0;net8.0</TargetFrameworks> | ||
</PropertyGroup> | ||
</Otherwise> | ||
</Choose> | ||
|
@@ -17,7 +17,7 @@ | |
<Platforms>AnyCPU;x64;x86</Platforms> | ||
<Authors>EasyMicroservices</Authors> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<Version>0.0.0.8</Version> | ||
<Version>0.0.0.9</Version> | ||
<Description>Serialize and deserialize wrapper</Description> | ||
<Copyright>[email protected]</Copyright> | ||
<PackageTags>Serialize,deserialize</PackageTags> | ||
|
@@ -26,8 +26,10 @@ | |
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | ||
<DocumentationFile>.\bin\$(Configuration)\$(TargetFramework)\EasyMicroservice.Serialization.YamlDotNet.xml</DocumentationFile> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\EasyMicroservices.Serialization\EasyMicroservices.Serialization.csproj" /> | ||
<PackageReference Include="YamlDotNet" Version="13.7.1" /> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
</When> | ||
<Otherwise> | ||
<PropertyGroup> | ||
<TargetFrameworks>netstandard2.0;netstandard2.1;net6.0;net45;net7.0</TargetFrameworks> | ||
<TargetFrameworks>netstandard2.0;netstandard2.1;net6.0;net45;net7.0;net8.0</TargetFrameworks> | ||
</PropertyGroup> | ||
</Otherwise> | ||
</Choose> | ||
|
@@ -17,7 +17,7 @@ | |
<Platforms>AnyCPU;x64;x86</Platforms> | ||
<Authors>EasyMicroservices</Authors> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<Version>0.0.0.8</Version> | ||
<Version>0.0.0.9</Version> | ||
<Description>Serialize and deserialize wrapper</Description> | ||
<Copyright>[email protected]</Copyright> | ||
<PackageTags>Serialize,deserialize</PackageTags> | ||
|
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