# HG changeset patch # User cin # Date 2014-09-11 13:45:15 # Node ID 05f74c39a1434884b068b785cd59dd53652b004a # Parent 91362ffbecf838ff0b2c6ddd47eaaf5f612c6ab7 fixed JSONXmlReader.ElementValue for boolean values diff --git a/Implab/Implab.csproj b/Implab/Implab.csproj --- a/Implab/Implab.csproj +++ b/Implab/Implab.csproj @@ -7,8 +7,6 @@ Library Implab Implab - 8.0.30703 - 2.0 true diff --git a/Implab/JSON/JSONXmlReader.cs b/Implab/JSON/JSONXmlReader.cs --- a/Implab/JSON/JSONXmlReader.cs +++ b/Implab/JSON/JSONXmlReader.cs @@ -276,7 +276,7 @@ namespace Implab.JSON { if (Convert.GetTypeCode(m_parser.ElementValue) == TypeCode.Double) return ((double)m_parser.ElementValue).ToString(CultureInfo.InvariantCulture); else - return (string)m_parser.ElementValue; + return m_parser.ElementValue.ToString(); } }