Skip to content

Mostro-Complexity/QtJsonSerializer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, 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:

include(FetchContent)

FetchContent_Declare(QtJsonSerializer
    GIT_REPOSITORY https://github.com/Mostro-Complexity/QtJsonSerializer
    GIT_TAG master
)

FetchContent_MakeAvailable(QtJsonSerializer)

And link it if your project module need to use:

target_link_libraries(${PROJECT_NAME} 
    PRIVATE QtJsonSerializer::QtJsonSerializer
)

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors