Names of these 3 columns were Date, TargetName, Amount. TargetName column has partial rows with json array values and remaining rows with strings.
I want to extract value[0] from json array. With condition like [case when (targetName is Json type) Then $.value[0] else targetName] How to apply this condition and get the expected result?
Expected outcome: TargetName
SSC Stenographer
UP Police Sub Inspector
UPRVUNL JE
AAI JE Technical
ACC Exam