# HG changeset patch # User cin # Date 2017-08-24 23:16:35 # Node ID 9428ea36838ea946c43c01d27d66521aa2398fd5 # Parent 8222a2ab3ab75bb3f4ddd0505adf5e3e2daf2855 fixed JSON parser error when parsing escaped double quote symbol diff --git a/Implab/Formats/JSON/StringTranslator.cs b/Implab/Formats/JSON/StringTranslator.cs --- a/Implab/Formats/JSON/StringTranslator.cs +++ b/Implab/Formats/JSON/StringTranslator.cs @@ -16,8 +16,8 @@ namespace Implab.Formats.JSON { static readonly int[] _hexMap; static StringTranslator() { - var chars = new char[] { 'b', 'f', 't', 'r', 'n', '\\', '/' }; - var vals = new char[] { '\b', '\f', '\t', '\r', '\n', '\\', '/' }; + var chars = new char[] { 'b', 'f', 't', 'r', 'n', '\\', '/', '"' }; + var vals = new char[] { '\b', '\f', '\t', '\r', '\n', '\\', '/', '"' }; _escMap = new char[chars.Max() + 1];