如何将json数据导出为ex​​cel? [英] How do I export json data to excel?

查看:195
本文介绍了如何将json数据导出为ex​​cel?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有表格形式的数据。表格中的数据已通过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 a JSON object in a string then you have to deserialize it and then export the relevant data to Excel possibly using automation.
Google is you friend:
C++ json library comparison[^].
C++ excel automation[^].


这篇关于如何将json数据导出为ex​​cel?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆