NS_19
12th June 2014, 12:40
I am using QT 5.3. I have read various materials present online describing how to write json file,but no content describes it systematically and stepwise.
It would be really helpful if someone can explain the stepwise process of writing a json file in simple language since i am new to qt.
In my case i have a json file that already exists "LOM.json" with some content.How do i add new data to this.
{ "LOM": [
{ "LOM ID": 1,
"Source": "Open Internet",
"Content": "Complete Reference Java.pdf",
"Difficulty Level": "Hard",
"Type": "Text",
"Length": "Long",
"Topic-Proficiency":
[
{ "Topic": "Programming", "Proficiency": "E2" },
{ "Topic": "Java", "Proficiency": "E3" }
]
},
{ "LOM ID": 2,
"Source": "Open Internet",
"Content": "www.LatexTutorial.com",
"Difficulty Level": "Medium",
"Type": "WebCourse",
"Length": "Medium",
"Topic-Proficiency":
[
{ "Topic": "Latex", "Proficiency": "E2" }
]
}
]
}
Thanks.
It would be really helpful if someone can explain the stepwise process of writing a json file in simple language since i am new to qt.
In my case i have a json file that already exists "LOM.json" with some content.How do i add new data to this.
{ "LOM": [
{ "LOM ID": 1,
"Source": "Open Internet",
"Content": "Complete Reference Java.pdf",
"Difficulty Level": "Hard",
"Type": "Text",
"Length": "Long",
"Topic-Proficiency":
[
{ "Topic": "Programming", "Proficiency": "E2" },
{ "Topic": "Java", "Proficiency": "E3" }
]
},
{ "LOM ID": 2,
"Source": "Open Internet",
"Content": "www.LatexTutorial.com",
"Difficulty Level": "Medium",
"Type": "WebCourse",
"Length": "Medium",
"Topic-Proficiency":
[
{ "Topic": "Latex", "Proficiency": "E2" }
]
}
]
}
Thanks.