Get Keys from dynamic json string in c# – Asp.net
I have a variable json string which looks something like this [{"UserId":1,"PlatformName":"A","Value_Number1":11,"Value_Number2":12}, {"UserId":2,"PlatformName":"B","Value_Number1":13,"Value_Number2":14}] raw output string "[{"UserId":1,"PlatformName":"A","Value_Number1":11,"Value_Number2":12}, {"UserId":2,"PlatformName":"B","Value_Number1":13,"Value_Number2":14}]" I need to extract key names from this json string. i.e userid,platfromName,Value_Number1,Value_number2 This needs to be dynamic as there will be more…