|
@@ -359,7 +359,7 @@ Text Parser::removeWhitespace( const char *str )
|
|
|
|
|
|
JSONValue Parser::getValue( const char *str )
|
|
JSONValue Parser::getValue( const char *str )
|
|
{
|
|
{
|
|
- Text string( str );
|
|
|
|
|
|
+ Text string = Parser::removeWhitespace( str );
|
|
if( string.istGleich( "true" ) )
|
|
if( string.istGleich( "true" ) )
|
|
return JSONBool( 1 );
|
|
return JSONBool( 1 );
|
|
if( string.istGleich( "false" ) )
|
|
if( string.istGleich( "false" ) )
|