mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Generate compact JSON documents
This commit is contained in:
@@ -126,7 +126,7 @@ toJson( const QVariant &variant, bool* ok )
|
|||||||
{
|
{
|
||||||
*ok = !doc.isNull();
|
*ok = !doc.isNull();
|
||||||
}
|
}
|
||||||
return doc.toJson();
|
return doc.toJson( QJsonDocument::Compact );
|
||||||
#else
|
#else
|
||||||
QJson::Serializer serializer;
|
QJson::Serializer serializer;
|
||||||
return serializer.serialize( variant, ok );
|
return serializer.serialize( variant, ok );
|
||||||
|
Reference in New Issue
Block a user