File to code TCG

I’m wanting to make a list like
name
type
attack
defense
and so on in text then get the program to grab the stuff from the list & use the correct info when the card is summoned. I’m thinking of making a TCG & I dont wanna o type = so and so and list all the cards? Is there an easy way to do this or a way to do it?
I would like the text to look somewhat like this or maybe in graph form:

  1. Guard
    a. Human
    b. 1
    c. 3
  2. Angel
    a. Angel
    b. 1
    c. 3
  3. Flame Drake
    a. Dragon
    b. 2
    c. 8

Could you be more precise about that?

I think that you might use JSON format for your cards :

Thanks

yea what I meant was I want to have all the stats in a file and the card object pull the info it needs from the file. Like if you just started you might be using the first card so I was thinking new card(1) or something. Then the card object looks at the file & say 1 is a guard, has 1 attack, and 2 life, no special abilities. Then stores those variables in itself & show the correct stats. I think that is a better explanation. Then if you use like card 125 it looks in and say 125 is Flame Dragon, has 3 attack, 9 life, its fire attack can hit a 3 X 1 area infront of it.
JSON wouldnt work for me I’m using java & does JSON mean javascript

No JSON does not mean javascript.

TY, I just figured out how to a table object that would work.