Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 6c86218

Browse files
thibault-reignermythz
authored andcommitted
Fixed erroneous recursive call in JsvTypeSerializer.EatMapStartChar (#518)
1 parent 2e4b231 commit 6c86218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/ServiceStack.Text/Jsv/JsvTypeSerializer.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ public object UnescapeStringAsObject(ReadOnlySpan<char> value)
280280

281281
public ReadOnlySpan<char> EatTypeValue(ReadOnlySpan<char> value, ref int i) => EatValue(value, ref i);
282282

283-
public bool EatMapStartChar(string value, ref int i) => EatMapStartChar(value, ref i);
283+
public bool EatMapStartChar(string value, ref int i) => EatMapStartChar(value.AsSpan(), ref i);
284284

285285
public bool EatMapStartChar(ReadOnlySpan<char> value, ref int i)
286286
{

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /