Commit d1126b86 authored by hkrishna's avatar hkrishna

fix to JSONNode parser

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@21698 18c085ea-50e0-402c-830e-de6fd14e8384
parent 029e2a64
......@@ -584,11 +584,11 @@ JSONNode::EscapeString(const std::string &val) const
for(size_t i=0;i<ssize;i++)
{
if(val[i] == '"')
{res += std::string("");}
{res += std::string("\\\"");}
else if(val[i] == '\\')
{res += std::string("\\");}
//if(val[i] == '/')
//{res += std::string("\\/");}
else if(val[i] == '/')
{res += std::string("\\/");}
else if(val[i] == '\b')
{res += std::string("\\b");}
else if(val[i] == '\f')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment