# HG changeset patch # User cin # Date 1503616595 -10800 # Node ID 9428ea36838ea946c43c01d27d66521aa2398fd5 # Parent 8222a2ab3ab75bb3f4ddd0505adf5e3e2daf2855 fixed JSON parser error when parsing escaped double quote symbol diff -r 8222a2ab3ab7 -r 9428ea36838e Implab/Formats/JSON/StringTranslator.cs --- a/Implab/Formats/JSON/StringTranslator.cs Wed Aug 23 02:38:02 2017 +0300 +++ b/Implab/Formats/JSON/StringTranslator.cs Fri Aug 25 02:16:35 2017 +0300 @@ -16,8 +16,8 @@ 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];