我不知道如何在java(或其他任何东西)中解析JSON。我已经看过一些教程,但我无法理解。
我想获得title="Fabiola Jean and Laurent Lundy commented on a photo that you're tagged"
。我只需要知道如何创建一个getTitle()方法
这是我要解析的JSON:
Connection[data=[Notification[id=notif__161136848 metadata=null
title=Fabiola Jean and Laurent Lundy commented on a photo that you're tagged in. type=null]]
nextPageUrl=https://graph.facebook.com/811204509/notifications?fields
=title&value=1&format=json&redirect=1&access_token=MY_TOKEN&__paging_token=
notif__161136848
previousPageUrl=https://graph.facebook.com/811204509/notifications?fields=title
&value=1&format=json&redirect=1&access_token=MY_TOKEN&limit=5000&since=1342109329&
__paging_token=notif__161136848&__previous=1 next=true previous=true]