Classes | |
| class | Parser |
| Main class used to convert JSON data to QVariant objects. 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. During these operations only the class attributes defined as properties will be considered. Properties marked as 'non-stored' will be ignored. 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 |
| How the indentation should work. More... | |
Namespace used by QJson
| enum QJson::IndentMode |
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
]
}
Definition at line 103 of file serializer.h.
|
|
hosts this site. |
Send comments to: QJson Developers |