Commit b62d3c7c authored by 阿星Plus's avatar 阿星Plus

v1.0.4

parent b992e1b3
...@@ -115,7 +115,7 @@ public static class Extensions ...@@ -115,7 +115,7 @@ public static class Extensions
return JsonConvert.DeserializeObject(value, type, settings); return JsonConvert.DeserializeObject(value, type, settings);
} }
public static async Task<T> GetObjectFromJsonFile<T>(string filePath, string key = "") where T : new() public static async Task<T> GetObjectFromJsonFile<T>(this string filePath, string key = "") where T : new()
{ {
if (!File.Exists(filePath)) if (!File.Exists(filePath))
{ {
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<PackageLicenseExpression>MIT</PackageLicenseExpression> <PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>plus;plus.extensions;plus.extensions.serialization;.netcoreplus;</PackageTags> <PackageTags>plus;plus.extensions;plus.extensions.serialization;.netcoreplus;</PackageTags>
<PackageReleaseNotes>Plus.Extensions.Serialization</PackageReleaseNotes> <PackageReleaseNotes>Plus.Extensions.Serialization</PackageReleaseNotes>
<Version>1.0.3</Version> <Version>1.0.4</Version>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment