json.(journal, :id, :note, :commit_id, :line_code, :path, :diff, :need_respond, :state, :parent_id)
json.user do 
  json.partial! 'api/v1/users/simple_user', user: journal.user
end
json.review do 
  if journal.review.present? 
    json.partial! 'api/v1/projects/pulls/reviews/simple_detail', review: journal.review
  else 
    json.nil!
  end
end
json.resolveer do 
  if journal.resolveer.present? 
    json.partial! 'api/v1/users/simple_user', user: journal.resolveer
  else 
    json.nil!
  end
end
json.resolve_at format_time(journal.resolve_at)
json.created_at format_time(journal.created_on)
json.updated_at format_time(journal.updated_on)