I have a data frame which is json column with json string. example below. There are 3 columns - a,b,c. Column c is stringType
| a | b | c |
--------------------------------------------------------
|77 |ABC | {"12549":38,"333513":39} |
|78 |ABC | {"12540":38,"333513":39} |
I want to make them into columns of the data frame(pivot). the example below -
| a | b | 12549 | 333513 | 12540
---------------------------------------------
|77 |ABC |38 |39 | null
|77 |ABC | null |39 | 38