0
我目前使用Twitch API獲取有關直播的信息。但是,我似乎無法在觀看者等的流部分下獲取數據。我使用json-simple作爲maven依賴項。如何在Java中使用json-simple分析JSON部分?
{
"_links": {
"channel": "https://api.twitch.tv/kraken/channels/test_channel",
"self": "https://api.twitch.tv/kraken/streams/test_channel"},
"stream": {
"game": "StarCraft II: Heart of the Swarm",
"viewers": 2123,
"average_fps": 29.9880749574,
"delay": 0,
"video_height": 720,
"is_playlist": false,
"created_at": "2015-02-12T04:42:31Z",
"_id": 4989654544,