martbhell Posted October 29, 2015 Share Posted October 29, 2015 Hi, http://politicsandwar.com/api/alliance/id=1972 looks like below and if I throw it at http://jsonlint.com/and https://jsonformatter.curiousconcept.com/ it says it's invalid. It seems to be the backslash in "\m/" and fix could be to escape all backslashes with backslashes . { "kind": "alliance", "data": { "alliancedata": { "allianceid": 1972, "name": "\m/", "leaderids": [ 22933, 26569], "score": 1218.60, "color": "black", "members": 7, "accepting members": 1, "applicants": 0, "flagurl": "https://politicsandwar.com/img/flags/zimbabwe.jpg", "forumurl": "", "irc": "#blingin", "gdp": "3961879425.82", "cities": "18", "soldiers": "94000", "tanks": "1500", "aircraft": "413", "ships": "5", "missiles": "3", "nukes": "0", "treasures": "0" } }} Quote Link to comment Share on other sites More sharing options...
Conner Temple Posted October 29, 2015 Share Posted October 29, 2015 Oooo! Code! Didn't understand anything.... but that is a problem Quote Link to comment Share on other sites More sharing options...
Guest Posted October 29, 2015 Share Posted October 29, 2015 Hi, http://politicsandwar.com/api/alliance/id=1972 looks like below and if I throw it at http://jsonlint.com/and https://jsonformatter.curiousconcept.com/ it says it's invalid. It seems to be the backslash in "\m/" and fix could be to escape all backslashes with backslashes . \m/ >_< \m/ Quote Link to comment Share on other sites More sharing options...
martbhell Posted October 31, 2015 Author Share Posted October 31, 2015 \\m/ would be OK apparently Quote Link to comment Share on other sites More sharing options...
Administrators Alex Posted October 31, 2015 Administrators Share Posted October 31, 2015 Should be fixed in the next patch. Quote Is there a bug? Report It | Not understanding game mechanics? Ask About It | Got a good idea? Suggest ItForums Rules | Game Link Link to comment Share on other sites More sharing options...
martbhell Posted November 7, 2015 Author Share Posted November 7, 2015 (edited) Should be fixed in the next patch. Looks like it made it in Thanks! { "kind": "alliance", "data": { "alliancedata": { "allianceid": 1972, "name": "\\m/", "leaderids": [ 22933, 26569, 26568], "score": 2184.44, "color": "black", "members": 12, "accepting members": 1, "applicants": 0, "flagurl": "https://i.imgur.com/v8t0QP5.jpg", "forumurl": "", "irc": "#blingin", "gdp": "4547540416.04", "cities": "33", "soldiers": "151782", "tanks": "5859", "aircraft": "732", "ships": "4", "missiles": "3", "nukes": "0", "treasures": "0" } } } Edited November 7, 2015 by martbhell Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.