TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Classes | Enumerations
QJson Namespace Reference

Namespace used by QJson. More...

Classes

class  Parser
 Main class used to convert JSON data to QVariant objects. More...
 
class  ParserPrivate
 Main class used to convert JSON data to QVariant objects private. More...
 
class  ParserRunnable
 Convenience class for converting JSON data to QVariant objects using a dedicated thread. More...
 
class  QObjectHelper
 Class used to convert QObject into QVariant and vivce-versa. More...
 
class  Serializer
 Main class used to convert QVariant objects to JSON data. More...
 
class  SerializerRunnable
 Convenience class for converting JSON data to QVariant objects using a dedicated thread. More...
 

Enumerations

enum  IndentMode {
  IndentNone, IndentCompact, IndentMinimum, IndentMedium,
  IndentFull
}
 How the indentation should work. More...
 

Detailed Description

Namespace used by QJson.

Enumeration Type Documentation

How the indentation should work.

none (default) :
         { "foo" : 0, "foo1" : 1, "foo2" : [ { "bar" : 1, "foo" : 0, "foobar" : 0 }, { "bar" : 1, "foo" : 1, "foobar" : 1 } ], "foo3" : [ 1, 2, 3, 4, 5, 6 ] }

compact :
         {"foo":0,"foo1":1,"foo2":[{"bar":1,"foo":0,"foobar":0},{"bar":1,"foo":1,"foobar":1}],"foo3":[1,2,3,4,5,6]}

minimum :
         { "foo" : 0, "foo1" : 1, "foo2" : [
           { "bar" : 1, "foo" : 0, "foobar" : 0 },
           { "bar" : 1, "foo" : 1, "foobar" : 1 }
          ], "foo3" : [
           1,
           2,
           3,
           4,
           5,
           6
          ] }

medium :
         {
          "foo" : 0, "foo1" : 1, "foo2" : [
           {
            "bar" : 1, "foo" : 0, "foobar" : 0
           },
           {
            "bar" : 1, "foo" : 1, "foobar" : 1
           }
          ], "foo3" : [
           1,
           2,
           3,
           4,
           5,
           6
          ]
         }

full :
         {
          "foo" : 0,
          "foo1" : 1,
          "foo2" : [
           {
            "bar" : 1,
            "foo" : 0,
            "foobar" : 0
           },
           {
            "bar" : 1,
            "foo" : 1,
            "foobar" : 1
           }
          ],
          "foo3" : [
           1,
           2,
           3,
           4,
           5,
           6
          ]
         }
Enumerator
IndentNone 
IndentCompact 
IndentMinimum 
IndentMedium 
IndentFull 

Definition at line 103 of file serializer.h.