# repertoires: [{. //主标签
# 	id: 1,
# 	name: '前端开发', 
# 	sub_repertoires: [
# 		{ 
# 			id: 1,
# 			name: '前端基础',
# 			tags: [
# 				id: 1,
# 				name: 'HTML'
# 			]
# 		}
# 	]
# }]

# json.array! @repertoires do |rep|
# 	json.id rep.id
# 	json.name rep.name
# 	json.sub_repertoires do
# 		json.array! rep.sub_repertoires do |sub|
# 			json.id sub.id
# 			json.name sub.name
# 			json.tags do
# 				json.array! sub.tag_repertoires do |tag|
# 					json.id tag.id
# 					json.name tag.name
# 				end
# 			end
# 		end
# 	end
# end

json.array! @repertoires