You can use Linq
as shown below:
var jArrayString = "["value1","value2","value3","value4"]";
var jArray = JArray.Parse(jArrayString);
var tuples = jArray.Select((j, index) => index % 2 == 0
? new Tuple<string, string>(jArray[index].Value<string>(), jArray[index + 1].Value<string>())
: null)
.Where(t => t != null);
You can check the fiddle - https://dotnetfiddle.net/g1MFjb
Note - the above may not be a optimized way. the same can be done using a simple for loop :).
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…