Skip to content

Commit 01cfc56

Browse files
authored
Merge pull request #17 from DanKE123abc/dev
refactor(DanKeJson): 更新版本号至 1.4.1,因为nuget包版本错误
2 parents fbcaf7e + 8975beb commit 01cfc56

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

DanKeJson.Demo/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
""False"": false
1313
}";
1414

15-
JsonData jsonData = JSON.ToData(jsonText);
15+
JsonData jsonData = JSON5.ToData(jsonText);
1616
double notANumber = jsonData["notANumber"];
1717
double positiveInfinity = jsonData["positiveInfinity"];
1818
double positiveInfinityWithPlus = jsonData["positiveInfinityWithPlus"];

DanKeJson/DanKeJson.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package >
33
<metadata>
44
<id>DanKeJson</id>
5-
<version>1.4.0</version>
5+
<version>1.4.1</version>
66
<title>DanKeJson</title>
77
<authors>DanKe</authors>
88
<requireLicenseAcceptance>false</requireLicenseAcceptance>

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,46 +74,46 @@ DanKeJson 为了方便开发使用,添加了许多特性,包括但不限于
7474

7575
## 在你的应用中安装 DanKeJson
7676

77-
**[点击下载](https://www.nuget.org/api/v2/package/DanKeJson/1.4.0)**
77+
**[点击下载](https://www.nuget.org/api/v2/package/DanKeJson/1.4.1)**
7878

7979
### Package manager
8080

8181
```shell
82-
NuGet\Install-Package DanKeJson -Version 1.4.0
82+
NuGet\Install-Package DanKeJson -Version 1.4.1
8383
```
8484

8585
### .NET CLI
8686

8787
```shell
88-
dotnet add package DanKeJson --version 1.4.0
88+
dotnet add package DanKeJson --version 1.4.1
8989
```
9090

9191
### PackageReference
9292

9393
```xaml
94-
<PackageReference Include="DanKeJson" Version="1.4.0" />
94+
<PackageReference Include="DanKeJson" Version="1.4.1" />
9595
```
9696

9797
### Paket CLI
9898

9999
```shell
100-
paket add DanKeJson --version 1.4.0
100+
paket add DanKeJson --version 1.4.1
101101
```
102102

103103
### Script & Interactive
104104

105105
```c#
106-
#r "nuget: DanKeJson, 1.4.0"
106+
#r "nuget: DanKeJson, 1.4.1"
107107
```
108108

109109
### Cake
110110

111111
```C#
112112
// Install DanKeJson as a Cake Addin
113-
#addin nuget:?package=DanKeJson&version=1.4.0
113+
#addin nuget:?package=DanKeJson&version=1.4.1
114114

115115
// Install DanKeJson as a Cake Tool
116-
#tool nuget:?package=DanKeJson&version=1.4.0
116+
#tool nuget:?package=DanKeJson&version=1.4.1
117117
```
118118

119119
或者,只需复制目录`./publish/DanKeJson`到您自己项目的源代码树中,并将其与您的开发环境集成。

README_en.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,46 +69,46 @@ Serialization:
6969

7070
## Using DanKeJson from an application
7171

72-
**[Download package](https://www.nuget.org/api/v2/package/DanKeJson/1.4.0)**
72+
**[Download package](https://www.nuget.org/api/v2/package/DanKeJson/1.4.1)**
7373

7474
### Package manager
7575

7676
```shell
77-
NuGet\Install-Package DanKeJson -Version 1.4.0
77+
NuGet\Install-Package DanKeJson -Version 1.4.1
7878
```
7979

8080
### .NET CLI
8181

8282
```shell
83-
dotnet add package DanKeJson --version 1.4.0
83+
dotnet add package DanKeJson --version 1.4.1
8484
```
8585

8686
### PackageReference
8787

8888
```xaml
89-
<PackageReference Include="DanKeJson" Version="1.4.0" />
89+
<PackageReference Include="DanKeJson" Version="1.4.1" />
9090
```
9191

9292
### Paket CLI
9393

9494
```shell
95-
paket add DanKeJson --version 1.4.0
95+
paket add DanKeJson --version 1.4.1
9696
```
9797

9898
### Script & Interactive
9999

100100
```c#
101-
#r "nuget: DanKeJson, 1.4.0"
101+
#r "nuget: DanKeJson, 1.4.1"
102102
```
103103

104104
### Cake
105105

106106
```C#
107107
// Install DanKeJson as a Cake Addin
108-
#addin nuget:?package=DanKeJson&version=1.4.0
108+
#addin nuget:?package=DanKeJson&version=1.4.1
109109

110110
// Install DanKeJson as a Cake Tool
111-
#tool nuget:?package=DanKeJson&version=1.4.0
111+
#tool nuget:?package=DanKeJson&version=1.4.1
112112
```
113113

114114
Alternatively, just copy the whole tree of files under `./publish/DanKeJson` to your own project's source tree and integrate it with your development environment.

0 commit comments

Comments
 (0)