views:

81

answers:

1

Hi guys:

Our legacy code use Newtonsoft.Json.JsonWriter to produce a javascript array like:

[["1","zxc"],["2","fifa"],["3","fgh"]].

I wounder if Newtonsoft.Json provide counterparts to help filter out or get specific element, says ["3","fgh"].

+1  A: 

The serializer produces JSON from an array you are supplying as argument. Filter the array before passing it to the serializer.

Darin Dimitrov