如何将json数据导出为excel? [英] How do I export json data to excel?
本文介绍了如何将json数据导出为excel?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有表格形式的数据。表格中的数据已通过json调用。我创建了一个按钮,我想通过单击该按钮将这些数据导出到excel文件。我正在MFC工作。
我尝试过:
没有
I have data in a table form. The data in table form has been called through json. I have created a button and i want to export those data to excel file with that button click. I am working on MFC.
What I have tried:
nothing
推荐答案
如果你在一个字符串中有一个JSON
对象,那么你必须反序列化它然后导出可能使用自动化的Excel
的相关数据。
谷歌是你的朋友:
< a href =https://www.google.co.uk/#q=c%2B%2B+json+library+comparison> C ++ json库比较 [ ^ ]。
C ++ Excel自动化 [ ^ ]。
If you have aJSON
object in a string then you have to deserialize it and then export the relevant data toExcel
possibly using automation.
Google is you friend:
C++ json library comparison[^].
C++ excel automation[^].
这篇关于如何将json数据导出为excel?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文