##// END OF EJS Templates
fixed JSONXmlReader.ElementValue for boolean values
cin -
r78:05f74c39a143 v2
parent child
Show More
@@ -7,8 +7,6
7 <OutputType>Library</OutputType>
7 <OutputType>Library</OutputType>
8 <RootNamespace>Implab</RootNamespace>
8 <RootNamespace>Implab</RootNamespace>
9 <AssemblyName>Implab</AssemblyName>
9 <AssemblyName>Implab</AssemblyName>
10 <ProductVersion>8.0.30703</ProductVersion>
11 <SchemaVersion>2.0</SchemaVersion>
12 </PropertyGroup>
10 </PropertyGroup>
13 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
11 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
14 <DebugSymbols>true</DebugSymbols>
12 <DebugSymbols>true</DebugSymbols>
@@ -276,7 +276,7 namespace Implab.JSON {
276 if (Convert.GetTypeCode(m_parser.ElementValue) == TypeCode.Double)
276 if (Convert.GetTypeCode(m_parser.ElementValue) == TypeCode.Double)
277 return ((double)m_parser.ElementValue).ToString(CultureInfo.InvariantCulture);
277 return ((double)m_parser.ElementValue).ToString(CultureInfo.InvariantCulture);
278 else
278 else
279 return (string)m_parser.ElementValue;
279 return m_parser.ElementValue.ToString();
280 }
280 }
281 }
281 }
282
282
General Comments 0
You need to be logged in to leave comments. Login now