Commit f16fd5f3 authored by hkrishna's avatar hkrishna

removing extra signature command from Variant ToJSONNode function

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@23836 18c085ea-50e0-402c-830e-de6fd14e8384
parent e59bf254
......@@ -506,7 +506,7 @@ MapNode::ToJSONNodeData(bool encodeString) const
}
else // save value, if we have a value
{
node = Variant::ToJSONNode(encodeString);
node = Variant::ToJSONNode(encodeString,true);
}
return node;
......
......@@ -2634,7 +2634,7 @@ Variant::ToXML(const string &indent, bool encodeString) const
string
Variant::ToJSON(const string &indent, bool encodeString) const
{
return ToJSONNode(encodeString).ToString(indent);
return ToJSONNode(encodeString, true).ToString(indent);
}
// ****************************************************************************
......@@ -2795,11 +2795,6 @@ Variant::ToXMLNode(bool encodeString) const
return node;
}
JSONNode
Variant::ToJSONNode(bool encodeString) const
{
return this->ToJSONNode(encodeString, true);
}
JSONNode
Variant::ToJSONNode(bool encodeString, bool id) const
......
......@@ -218,7 +218,6 @@ class STATE_API Variant
virtual std::string ToXML(const std::string &indent, bool encodeString) const;
virtual std::string ToJSON(const std::string &indent, bool encodeString) const;
virtual XMLNode ToXMLNode(bool encodeString) const;
virtual JSONNode ToJSONNode(bool encodeString) const;
virtual JSONNode ToJSONNode(bool encodeString, bool id) const;
protected:
......
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