QJson - a Qt based library for mapping JSON data to QVariant objects

QJson home page

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Namespace List
- Namespace Members

Classes | Enumerations
QJson Namespace Reference

## 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...

## Detailed Description

Namespace used by QJson

## Enumeration Type Documentation

enum QJson::IndentMode

How the indentation should work.

    none (default) : { "foo" : 0, "foo1" : 1, "foo2" : [ { "foo3" : 3, "foo4" : 4 } ] }

    compact : {"foo":0,"foo1":1,"foo2":[{"foo3":3,"foo4":4}]}

    minimum : { "foo" : 0, "foo1" : 1, "foo2" : [
                { "foo3" : 3, "foo4" : 4 }
              ] }

    medium : {
              "foo" : 0, "foo1" : 1, "foo2" : [
               {
                "foo3" : 3, "foo4" : 4
               }
              ]
             }
    full : {
            "foo" : 0,
            "foo1" : 1,
            "foo2" : [
             {
              "foo3" : 3,
              "foo4" : 4
             }
            ]
           }

Definition at line 62 of file serializer.h.

| hosts this site. |  | Send comments to: QJson Developers