{"action":"created","issue":{"url":"https://api.github.com/repos/madcowfred/padherder-issues/issues/643","labels_url":"https://api.github.com/repos/madcowfred/padherder-issues/issues/643/labels{/name}","comments_url":"https://api.github.com/repos/madcowfred/padherder-issues/issues/643/comments","events_url":"https://api.github.com/repos/madcowfred/padherder-issues/issues/643/events","html_url":"https://github.com/madcowfred/padherder-issues/issues/643","id":73424646,"number":643,"title":"JSON import - JP 7.8.1 changed JSON format","user":{"login":"icijunk","id":8973915,"avatar_url":"https://avatars.githubusercontent.com/u/8973915?v=3","gravatar_id":"","url":"https://api.github.com/users/icijunk","html_url":"https://github.com/icijunk","followers_url":"https://api.github.com/users/icijunk/followers","following_url":"https://api.github.com/users/icijunk/following{/other_user}","gists_url":"https://api.github.com/users/icijunk/gists{/gist_id}","starred_url":"https://api.github.com/users/icijunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icijunk/subscriptions","organizations_url":"https://api.github.com/users/icijunk/orgs","repos_url":"https://api.github.com/users/icijunk/repos","events_url":"https://api.github.com/users/icijunk/events{/privacy}","received_events_url":"https://api.github.com/users/icijunk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/madcowfred/padherder-issues/labels/api","name":"api","color":"009800"},{"url":"https://api.github.com/repos/madcowfred/padherder-issues/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-05T20:36:37Z","updated_at":"2015-05-11T08:32:12Z","closed_at":"2015-05-10T02:08:42Z","body":"Import JSON from JP 7.8.1 errors out.  I used Charles proxy to pull the get_player_data response out, and have been importing for a year successfully before that.\r\n\r\nThey seemed to have switched from a JSON array to a JSON list of lists for the \"card\" section.\r\n\r\nNew format:\r\n\t\"card\": [\r\n\t\t[1, 154906, 40, 1, 42, 1919, 0, 0, 0, 3, 0],\r\n\t\t[8, 2422201, 81, 1, 29, 1216, 2, 1, 0, 4, 0],\r\n\r\nOld format:\r\n\"card\": [{\r\n\"cuid\": 1,\r\n\"exp\": 79875,\r\n\"lv\": 31,\r\n\"slv\": 1,\r\n\"mcnt\": 40,\r\n\"no\": 4,\r\n\"plus\": [0, 0, 0, 3, 0]\r\n}, {\r\n\"cuid\": 8,\r\n\"exp\": 2386638,\r\n\"lv\": 80,\r\n\"slv\": 1,\r\n\"mcnt\": 28,\r\n\"no\": 629,\r\n\"plus\": [2, 1, 0, 4, 0]\r\n}, {\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/madcowfred/padherder-issues/issues/comments/100815447","html_url":"https://github.com/madcowfred/padherder-issues/issues/643#issuecomment-100815447","issue_url":"https://api.github.com/repos/madcowfred/padherder-issues/issues/643","id":100815447,"user":{"login":"icijunk","id":8973915,"avatar_url":"https://avatars.githubusercontent.com/u/8973915?v=3","gravatar_id":"","url":"https://api.github.com/users/icijunk","html_url":"https://github.com/icijunk","followers_url":"https://api.github.com/users/icijunk/followers","following_url":"https://api.github.com/users/icijunk/following{/other_user}","gists_url":"https://api.github.com/users/icijunk/gists{/gist_id}","starred_url":"https://api.github.com/users/icijunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icijunk/subscriptions","organizations_url":"https://api.github.com/users/icijunk/orgs","repos_url":"https://api.github.com/users/icijunk/repos","events_url":"https://api.github.com/users/icijunk/events{/privacy}","received_events_url":"https://api.github.com/users/icijunk/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T08:32:12Z","updated_at":"2015-05-11T08:32:12Z","body":"Works great.  Thanks!"}}