I would like to turn this into a class so I can parse it... but http://json2csharp.com/ gives it an error.. i think i would be able to do it myself but the variables like "red team" and "ban name" all have spaces in its name.. so that completely throws me off........
and also the fact that there's a "red team" and a "blue team" kinda throws me off as the examples i see on the internet don't have two different classes in a file.. getting frustrated can anyone help? trying to learn JSON.net but having trouble parsing everything
{
"red team": {
"ban name": [
"Corkii",
"Darius",
"Diana"
],
"ban number": [
14,
15,
16
],
"players": [
"Nien",
"bigfatlp",
"Link",
"Doublelift",
"Chauster"
],
"pick rate": [
0.7,
0.5,
0.8,
0.9,
0.6
],
"pick number": [
6,
7,
8,
9,
10
],
"team": "Counter Logic Gaming",
"pick name": [
"Anivia",
"Annie",
"Ashe",
"Blitzcrank",
"Brand"
],
"pick win rate": [
0.6,
0.7,
0.8,
0.9,
0.5
]
},
"blue team": {
"ban name": [
"Caitlyn",
"Cassiopeia",
"Chogath"
],
"ban number": [
11,
12,
13
],
"players": [
"Dyrus",
"TheOddOne",
"Reginald",
"WildTurtle",
"Xpecial"
],
"pick rate": [
0.2,
0.5,
0.3,
0.4,
0.1
],
"pick number": [
1,
2,
3,
4,
5
],
"team": "TSM Snapdragon",
"pick name": [
"Aatrox",
"Ahri",
"Akali",
"Alistar",
"Amumu"
],
"pick win rate": [
0.1,
0.2,
0.3,
0.4,
0.5
]
}