using Newtonsoft.Json.Linq;
public static void Main()
'selector': 'custom.gender2',
'action': 'UPDATE|REMOVE',
'title': 'Physical Characteristics'
'selector': 'custom.gender2',
'selector': 'custom.gender2',
'fieldName': 'Hair Color',
'selector': 'custom.hairColor',
'action': 'UPDATE|REMOVE',
'title': 'Physical Characteristics'
'selector': 'custom.hairColor',
'selector': 'custom.hairColor',
string tabTitle= "Details";
JArray jAry = JArray.Parse(json);
.Where(j => j[tabName]["title"].ToString() == tabTitle)
.Select(j => (int)j[tabName]["id"])
Console.WriteLine("Id = " + tabId);