how to convert a key value pair in to a columns based up on key
hello,
i have a data that looks like this
name:jack
id:1
salary :15000
name:lucy
id:2
salary:16000
name:mat
id:2
salary:12000
here how do i convert this type of data in to columns based up on the keys like name,id,salary,
the out put should look like
id,name,salary
1,jack,15000
2,lucy,16000
3,mat,12000
Are there any component to do this convertion can you please suggest me how to do this
Thanks.