我尝试读取这样的JSON文件:
{
"presentationName" : "Here some text",
"presentationAutor" : "Here some text",
"presentationSlides" : [
{
"title" : "Here some text.",
"paragraphs" : [
{
"value" : "Here some text."
},
{
"value" : "Here some text."
}
]
},
{
"title" : "Here some text.",
"paragraphs" : [
{
"value" : "Here some text.",
"image" : "Here some text."
},
{
"value" : "Here some text."
},
{
"value" : "Here some text."
}
]
}
]
}
Run Code Online (Sandbox Code Playgroud)
这是一个学校练习,我选择尝试使用JSON.simple(来自GoogleCode),但我对另一个JSON库开放.我听说过Jackson和Gson:他们比JSON.simple好吗? …