This is a snapshot of the dialogues written in a .json file stored in the Resource folder, which I use to display dialogues in the game:
{
"dialogues":[
{
"characterType": 0,
"name": "Hero",
"atlasImageName": "Hero_Default",
"dialogueText": "Time to address the call to adventure"
}
An advantage I can think of using .json is that you can directly edit it in a text file.
Beyond this, is there a reason to prefer JSON over hard coding in C# classes or structs? I feel like managing hundreds of JSON files is equally difficult as managing hundreds of .cs files that are used for storing dialogues, but with .cs files I can rely enums (for character types) and string-constants (for hero names) to minimize typos.