Skip to content

A collection of helper functions for Qt to use with nlohmann/json

License

Notifications You must be signed in to change notification settings

dpurgin/nlohmann_json_qt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nlohmann_json_qt

A collection of helper functions for Qt to use with nlohmann/json

Adds support for deserialization of the following Qt types from basic_json:

  • QString
  • QUrl
  • QDateTime with Qt::ISODateWithMs
  • QVector<T>
  • QList<T>
  • QVariantList
  • QVariantMap
  • A limited subset of values stored in QVariant:
    • QVariantList
    • QVariantMap
    • QString
    • double
    • bool
    • int
    • unsigned int
    • long long int
    • unsigned long long int
    • All other values are converted to a null JSON value.

This is a header-only library. Add the header to your include paths or use CMake and link against nlohmann_json_qt.

About

A collection of helper functions for Qt to use with nlohmann/json

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published