Skip to content

Commit 6524797

Browse files
committed
version 3.0
1 parent fc0ec48 commit 6524797

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,28 @@ Unlike other `Json` libraries, `STJson` not has objects similar to `JObject` and
1212

1313
```cs
1414
var json_1 = new STJson();
15-
Console.WriteLine("[json_1] - " + json_1.IsNullObject + " - " + json_1.ValueType);
15+
Console.WriteLine("[json_1] - " + json_1.IsNullValue + " - " + json_1.ValueType);
1616

1717
var json_2 = STJson.New();
1818
json_2.SetItem("key", "value");
19-
Console.WriteLine("[json_2] - " + json_2.IsNullObject + " - " + json_2.ValueType);
19+
Console.WriteLine("[json_2] - " + json_2.IsNullValue + " - " + json_2.ValueType);
2020

2121
var json_3 = new STJson();
2222
json_3.Append(1, 2, 3);
23-
Console.WriteLine("[json_3] - " + json_3.IsNullObject + " - " + json_3.ValueType);
23+
Console.WriteLine("[json_3] - " + json_3.IsNullValue + " - " + json_3.ValueType);
2424

2525
var json_4 = new STJson();
2626
json_4.SetValue(DateTime.Now);
27-
Console.WriteLine("[json_4] - " + json_4.IsNullObject + " - " + json_4.ValueType);
27+
Console.WriteLine("[json_4] - " + json_4.IsNullValue + " - " + json_4.ValueType);
2828

2929
var json_5 = STJson.CreateArray(); // made by static function
30-
Console.WriteLine("[json_5] - " + json_5.IsNullObject + " - " + json_5.ValueType);
30+
Console.WriteLine("[json_5] - " + json_5.IsNullValue + " - " + json_5.ValueType);
3131

3232
var json_6 = STJson.CreateObject(); // made by static function
33-
Console.WriteLine("[json_6] - " + json_6.IsNullObject + " - " + json_6.ValueType);
33+
Console.WriteLine("[json_6] - " + json_6.IsNullValue + " - " + json_6.ValueType);
3434

3535
var json_7 = STJson.FromObject(12); // made by static function
36-
Console.WriteLine("[json_3] - " + json_7.IsNullObject + " - " + json_7.ValueType);
36+
Console.WriteLine("[json_3] - " + json_7.IsNullValue + " - " + json_7.ValueType);
3737
/*******************************************************************************
3838
* [output] *
3939
*******************************************************************************/

README_CN.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,28 @@ NuGet: [https://www.nuget.org/packages/STLib.Json](https://www.nuget.org/package
1212

1313
```cs
1414
var json_1 = new STJson();
15-
Console.WriteLine("[json_1] - " + json_1.IsNullObject + " - " + json_1.ValueType);
15+
Console.WriteLine("[json_1] - " + json_1.IsNullValue + " - " + json_1.ValueType);
1616

1717
var json_2 = STJson.New();
1818
json_2.SetItem("key", "value");
19-
Console.WriteLine("[json_2] - " + json_2.IsNullObject + " - " + json_2.ValueType);
19+
Console.WriteLine("[json_2] - " + json_2.IsNullValue + " - " + json_2.ValueType);
2020

2121
var json_3 = new STJson();
2222
json_3.Append(1, 2, 3);
23-
Console.WriteLine("[json_3] - " + json_3.IsNullObject + " - " + json_3.ValueType);
23+
Console.WriteLine("[json_3] - " + json_3.IsNullValue + " - " + json_3.ValueType);
2424

2525
var json_4 = new STJson();
2626
json_4.SetValue(DateTime.Now);
27-
Console.WriteLine("[json_4] - " + json_4.IsNullObject + " - " + json_4.ValueType);
27+
Console.WriteLine("[json_4] - " + json_4.IsNullValue + " - " + json_4.ValueType);
2828

2929
var json_5 = STJson.CreateArray(); // made by static function
30-
Console.WriteLine("[json_5] - " + json_5.IsNullObject + " - " + json_5.ValueType);
30+
Console.WriteLine("[json_5] - " + json_5.IsNullValue + " - " + json_5.ValueType);
3131

3232
var json_6 = STJson.CreateObject(); // made by static function
33-
Console.WriteLine("[json_6] - " + json_6.IsNullObject + " - " + json_6.ValueType);
33+
Console.WriteLine("[json_6] - " + json_6.IsNullValue + " - " + json_6.ValueType);
3434

3535
var json_7 = STJson.FromObject(12); // made by static function
36-
Console.WriteLine("[json_3] - " + json_7.IsNullObject + " - " + json_7.ValueType);
36+
Console.WriteLine("[json_3] - " + json_7.IsNullValue + " - " + json_7.ValueType);
3737
/*******************************************************************************
3838
* [output] *
3939
*******************************************************************************/

0 commit comments

Comments
 (0)