gpt4 book ai didi

java - 如何读取JSON数据文件

转载 作者:行者123 更新时间:2023-12-02 13:39:17 24 4
gpt4 key购买 nike

如何用 Java 读取这个 JSON 文件?

"paging": {
"previous": "https://graph.facebook.com/v2.8/6604386669/posts?fields=shares,created_time,permalink_url&limit=25&format=json&since=1489024832&access_token=EAACEdEose0cBACipMCOGXLzMceEqHFvGyjdHNfUjcLeLIlllWlwZA0EP8UlHrZCglOgQjnyyXF9NieEQqEUxfTiqQh2LTAmWoHuq2cQebaHBHYsZCyW5ZAOmmXZCMfC6k7wdrvD1nqA0OokJg5aiL0N7qm1zZC4E9OElZAN7r8FyMZAWHmQfg910PyLG7OXaaZB4ZD&__paging_token=enc_AdDjgl8J8ah7EkRm6ANkMzNaxRYdGGE7wGUpMEC7LqLKmzi21Wm4IP1Mg8tc2BZBSUJEgZAm6TlmDySTWr7hoqfKwR&__previous=1",
"next": "https://graph.facebook.com/v2.8/6604386669/posts?fields=shares,created_time,permalink_url&limit=25&format=json&access_token=EAACEdEose0cBACipMCOGXLzMceEqHFvGyjdHNfUjcLeLIlllWlwZA0EP8UlHrZCglOgQjnyyXF9NieEQqEUxfTiqQh2LTAmWoHuq2cQebaHBHYsZCyW5ZAOmmXZCMfC6k7wdrvD1nqA0OokJg5aiL0N7qm1zZC4E9OElZAN7r8FyMZAWHmQfg910PyLG7OXaaZB4ZD&until=1488618000&__paging_token=enc_AdC8UoxF4N2jCIoT2POGWgsxrPdVtNkEJHpCN5badU5rBQqS9ZAoRfq4RPsMDpCKR9oqAO9gj241ngm8ZBDpZC5kGGI"
}

最佳答案

您可以了解Java中的Json解析。您可以尝试一下:https://www.tutorialspoint.com/json/json_java_example.htm

关于java - 如何读取JSON数据文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42827180/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com