Skip to content

Commit 4b907dd

Browse files
committed
🚚 rename parser class
1 parent d29fb68 commit 4b907dd

File tree

14 files changed

+16
-16
lines changed

14 files changed

+16
-16
lines changed

β€ŽJson5.Tests/Parse/Arrays.csβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Json5.Tests.Parse;
99
using System.Text.Json.Nodes;
1010

1111
using static FluentAssertions.FluentActions;
12-
using static Json5.Json5Parser;
12+
using static Json5.JSON5;
1313

1414
public class Arrays {
1515
[Fact] void Empty() => Parse("[]").Should().Be(Array.Empty<object>());

β€ŽJson5.Tests/Parse/Bools.csβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Json5.Tests.Parse;
66

77
using Helpers;
88

9-
using static Json5.Json5Parser;
9+
using static Json5.JSON5;
1010

1111
public class Bools {
1212
[Fact] void True() => Parse("true").Should().Be(true);

β€ŽJson5.Tests/Parse/Comments.csβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace Json5.Tests.Parse;
77
using Helpers;
88

99
using static FluentAssertions.FluentActions;
10-
using static Json5.Json5Parser;
10+
using static Json5.JSON5;
1111

1212
public static class Comments {
1313
public class SingleLine {

β€ŽJson5.Tests/Parse/Floats.csβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Json5.Tests.Parse;
1010
using System.Text.Json.Serialization;
1111

1212
using static FluentAssertions.FluentActions;
13-
using static Json5.Json5Parser;
13+
using static Json5.JSON5;
1414

1515
public class Floats {
1616
// required to deserialize "Infinity" and "NaN"

β€ŽJson5.Tests/Parse/General.csβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
using System.Text.Json.Serialization;
1010

1111
using static FluentAssertions.FluentActions;
12-
using static Json5.Json5Parser;
12+
using static Json5.JSON5;
1313

1414
public class General {
1515
// required to deserialize "Infinity" and "NaN"

β€ŽJson5.Tests/Parse/Integers.csβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Json5.Tests.Parse;
1010
using System.Text.Json;
1111

1212
using static FluentAssertions.FluentActions;
13-
using static Json5.Json5Parser;
13+
using static Json5.JSON5;
1414

1515
public static class Integers {
1616
// required to deserialize integers beyond Int128.MinValue and UInt128.MaxValue

β€ŽJson5.Tests/Parse/NpmPackageJson.csβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace Json5.Tests.Parse;
88

99
using System.Text.Json.Nodes;
1010

11-
using static Json5.Json5Parser;
11+
using static Json5.JSON5;
1212

1313
public class NpmPackageJson {
1414
[Fact] void Json5MatchesEquivalentJsonReference() => Parse(PackageJson5).Should().Be(JsonNode.Parse(PackageJson));

β€ŽJson5.Tests/Parse/Null.csβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
using FluentAssertions;
44

5-
using static Json5.Json5Parser;
5+
using static Json5.JSON5;
66

77
public class Null {
88
[Fact] public void Test() => Parse("null").Should().BeNull();

β€ŽJson5.Tests/Parse/Objects.csβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Json5.Tests.Parse;
99
using System.Text.Json.Nodes;
1010

1111
using static FluentAssertions.FluentActions;
12-
using static Json5.Json5Parser;
12+
using static Json5.JSON5;
1313

1414
public class Objects {
1515
[Fact] void Empty() => Parse("{}").Should().BeEmptyObject();

β€ŽJson5.Tests/Parse/Strings.csβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace Json5.Tests.Parse;
77
using Helpers;
88

99
using static FluentAssertions.FluentActions;
10-
using static Json5.Json5Parser;
10+
using static Json5.JSON5;
1111

1212
public class Strings {
1313
[Fact] void DoubleQuoted() => Parse("\"strings are 'fun'\"").Should().Be("strings are 'fun'");

0 commit comments

Comments
Β (0)