Open hikko624 opened 4 years ago
Idolmaster.cinderella_girls[3]
=> {:id=>4,
:name=>"相原雪乃",
:kana=>"あいはらゆきの",
:height=>"160cm",
:weight=>"51kg",
:size=>"92/58/90",
:birth=>"2月14日",
:age=>"22歳",
:blood=>"A型",
:type=>"cute",
:from=>"秋田",
:cv=>""}
Idolmaster.cinderella_girls[3][:name]
=> "相原雪乃"
流石にこれでは使いにくい
Idolmaster.side_m.class
=> Array
ちょっと厳しそう
❌シリーズごとにjsonファイルを作成、その中にアイドルデータを入れる ⭕シリーズごとにディレクトリを作成、その中に各アイドルごとのファイルを作成しデータを入れる
まず大規模jsonを分ける必要があるのか。。。
"id": 1
から"id": shimamura_uduki
にしたい