C#C
C#3y ago
59 replies
Unicursal

❔ Reading a Json-File into a List Of Objects

Hey, i want to read a JSON File into a List of Objects.
The JSON File looks like this:
{
  "Modes": [
    {
      "ConfigName": "Small Uppertext",
      "A": "ᴬ",
      "B": "ᴮ",
      "y": "ʸ",
      "z": "ᶻ"
    },
    {
      "ConfigName": "Something Else",
      "A": "ᴬ",
      "B": "ᴮ",
      "y": "ʸ",
      "z": "ᶻ"
    }
  ]
}  

I just shortened out the other letters.
How can i import the JSON File into a List of Objects?
Was this page helpful?