I have a JSON Array like this.
{"records":[{"ColorId":"3","ColorName":"Red","GenderId":"3","GenderName":"Female","SizeId":"1","SizeName":"N\/A"},{"ColorId":"2","ColorName":"Green","GenderId":"2","GenderName":"Male","SizeId":"1","SizeName":"N\/A"},{"ColorId":"3","ColorName":"Red","GenderId":"2","GenderName":"Male","SizeId":"1","SizeName":"N\/A"}]}
I need to separate these variables into separate objects with distinct
Color : ColorId,ColorName
Gender : GenderId,GenderName
Size: SizeId,SizeName
json library, @KalpenPatel?javascript library, not ajson library, @KalpenPatel.