QtJsonSerializer  4.0.0
A library to perform generic seralization and deserialization of QObjects
Classes
QtJsonSerializer::MetaWriters Namespace Reference

Contains the writer classes required to support serialization of generic containers. More...

Classes

class  AssociativeWriter
 The writer class for associative containers. More...
 
class  AssociativeWriterFactory
 A factory to create associative writer instances from variant data. More...
 
class  SequentialWriter
 The writer class for sequential containers. More...
 
class  SequentialWriterFactory
 A factory to create sequential writer instances from variant data. More...
 

Detailed Description

Contains the writer classes required to support serialization of generic containers.

Qt already provides read access to such containers via the QSequentialIterable and QAssociativeIterable classes. However, they do support creating or writing to such containers.

Therefore, until QTBUG-79170 was fixed, the writer classes are needed to perform this task.

As long as you only work with Qt containers, you will never use these classes. However, if you plan on using custom or std containers, you must register them via the writers.