json.memo do
  json.id memo.id
  json.forum_id memo.forum_id
  json.subject memo.subject
  json.is_md memo.is_md
  json.content content_safe(memo.content)
  json.sticky memo.sticky
  json.reward memo.reward
  json.viewed_count memo.viewed_count
  json.tag memo.tag_repertoires.map(&:name)
  json.time memo.created_at
  json.replies_count memo.all_replies_count
  json.user_praise memo.praise_treads.user_liker(@user.try(:id)).count > 0
  json.memo_praise_count memo.praise_treads.liker.count
end
