Author: maxsubrat
Subject: SORT JSON type of data
Posted: Wed Apr 19, 2017 6:01 pm (GMT 5.5)
Hi, I have data in input file like below... I want only data part of the line...
1st record:
"hashId": "12345678",
"userId": "88KK50D4",
"manufId": "60142429549",
2nd record:
"hashId": "88885555",
"userId": "44HH50D4",
"manufId": "23456765444",
but the position of data part starting is not fixed here.
I want only data part in the below format in my output file:
hashid then user id then manufId
12345678 88KK50D4 60142429549
88885555 44HH50D4 23456765444
Is there any way possible thru SORT or any other way ?
Thanks
Subject: SORT JSON type of data
Posted: Wed Apr 19, 2017 6:01 pm (GMT 5.5)
Hi, I have data in input file like below... I want only data part of the line...
1st record:
"hashId": "12345678",
"userId": "88KK50D4",
"manufId": "60142429549",
2nd record:
"hashId": "88885555",
"userId": "44HH50D4",
"manufId": "23456765444",
but the position of data part starting is not fixed here.
I want only data part in the below format in my output file:
hashid then user id then manufId
12345678 88KK50D4 60142429549
88885555 44HH50D4 23456765444
Is there any way possible thru SORT or any other way ?
Thanks