Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 90c652a

Browse files
committed
remove ServiceStack.Text.Json namespace
1 parent 0d44cc3 commit 90c652a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/ServiceStack.Text/Common/DeserializeType.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
using System.Globalization;
1616
using System.Linq;
1717
using System.Reflection;
18-
using ServiceStack.Text.Json;
1918

2019
namespace ServiceStack.Text.Common
2120
{
@@ -76,7 +75,7 @@ public static Type ExtractType(string strType)
7675
{
7776
if (strType == null || strType.Length <= 1) return null;
7877

79-
var hasWhitespace = JsonUtils.WhiteSpaceChars.Contains(strType[1]);
78+
var hasWhitespace = Json.JsonUtils.WhiteSpaceChars.Contains(strType[1]);
8079
if (hasWhitespace)
8180
{
8281
var pos = strType.IndexOf('"');
@@ -237,7 +236,7 @@ public static object ParsePrimitive(string value)
237236

238237
internal static object ParsePrimitive(string value, char firstChar)
239238
{
240-
if (typeof(TSerializer) == typeof(JsonTypeSerializer))
239+
if (typeof(TSerializer) == typeof(Json.JsonTypeSerializer))
241240
{
242241
return firstChar == JsWriter.QuoteChar
243242
? ParseQuotedPrimitive(value)
@@ -257,7 +256,7 @@ public static Type ExtractType(ITypeSerializer Serializer, string strType)
257256
{
258257
if (strType == null || strType.Length <= 1) return null;
259258

260-
var hasWhitespace = JsonUtils.WhiteSpaceChars.Contains(strType[1]);
259+
var hasWhitespace = Json.JsonUtils.WhiteSpaceChars.Contains(strType[1]);
261260
if (hasWhitespace)
262261
{
263262
var pos = strType.IndexOf('"');

0 commit comments

Comments
 (0)