How to serialize to JSON in Qt

前端 未结 4 616
梦如初夏
梦如初夏 2021-02-07 13:00

How can I JSON serialize a QVariant (or other type of data) in Qt. I don\'t want to use an external third party library like QJson

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-07 13:36

    There are no internal tools in Qt to do it. You will have to use a lib. Or roll your own implementation

提交回复
热议问题