# QtJsonSerializer **Repository Path**: glsoft/QtJsonSerializer ## Basic Information - **Project Name**: QtJsonSerializer - **Description**: fork from https://github.com/Skycoder42/QtJsonSerializer - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-27 - **Last Updated**: 2025-05-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # QtJsonSerializer A library to perform generic seralization and deserialization of QObjects from and to JSON and CBOR. With this small library, you are able to serialize any C++ datatype to JSON or CBOR and back. This is done with help of Qt's meta system. > The library was refered from [here](https://github.com/Skycoder42/QtJsonSerializer), and add cmake support features. Have a look at the usage of original repo to learn how to use this serialization library. Don't be afraid, as for most existing projects, only class names will have changed. ## Download/Configuration There is a simple way to configurate this Qt module, just create cmake script add include it in CMakeLists.txt of your project: ```cmake include(FetchContent) FetchContent_Declare(QtJsonSerializer GIT_REPOSITORY https://github.com/glsoft/QtJsonSerializer GIT_TAG master ) FetchContent_MakeAvailable(QtJsonSerializer) ``` And link it if your project module need to use: ```cmake target_link_libraries(${PROJECT_NAME} PRIVATE QtJsonSerializer::QtJsonSerializer ) ```