Skip to content

Commit

Permalink
Decode escaped forward slash
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjohnsonpint committed Feb 20, 2024
1 parent e8c21a2 commit 81a691f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions assembly/src/json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,11 @@ export namespace JSON {
last = i + 1;
break;
}
case forwardSlashCode: {
result.writeCodePoint(forwardSlashCode);
last = i + 1;
break;
}
case bCode: {
result.write("\b");
last = i + 1;
Expand Down

0 comments on commit 81a691f

Please sign in to comment.