You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
829 B

json.user do
json.id @user.id
json.name @user.name
json.title @user.title
json.work_experiences @user.work_experiences.active do |work|
# json.id work.id
json.title work.title
json.organization work.employer
if work.technologies.present?
json.technologies work.technologies
end
json.period work.period
json.responsibilities do
json.array! work.items_csv&.split(";")
end
end
json.skills @user.skills.active do |skill|
# json.id skill.id
json.title skill.title
json.detail skill.detail
end
json.education_entries @user.education_entries.active do |edu|
json.institution edu.institution
json.title edu.title
json.location edu.location
json.period edu.period
json.items do
json.array! edu.items_csv&.split(";")
end
end
end