user = question_comment.user
json.user_picture url_to_avatar(user)
json.user_name user.real_name
json.extract! question_comment, :id,:updated_at,:comment,:score,:exercise_question_id,:exercise_shixun_answer_id,:exercise_answer_id