Get multiple objects in JObject path
I have this kind of XML JOBject
I would like to retrieve a list of external Codes.
I tried with
Any idea how should I specify the path?
I would like to retrieve a list of external Codes.
I tried with
jobj.SelectToken("cust_toLegalEntity.FOEntity.externalCode) or with jobj.SelectTokens("cust_toLegalEntity.FOEntity.externalCode)m which works only if there is only 1 FOEntity in the list. If there are more than 1, it returns null.Any idea how should I specify the path?