hikko624 / idolmaster

MIT License
0 stars 0 forks source link

jsonのidとを変更 #24

Open hikko624 opened 4 years ago

hikko624 commented 4 years ago

"id": 1から"id": shimamura_udukiにしたい

hikko624 commented 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]
=> "相原雪乃"

流石にこれでは使いにくい

hikko624 commented 4 years ago
Idolmaster.side_m.class
=> Array

ちょっと厳しそう

hikko624 commented 4 years ago

❌シリーズごとにjsonファイルを作成、その中にアイドルデータを入れる ⭕シリーズごとにディレクトリを作成、その中に各アイドルごとのファイルを作成しデータを入れる

hikko624 commented 4 years ago

まず大規模jsonを分ける必要があるのか。。。