XPath, ObjectXPathNavigator, Newtonsoft.Json, & JSON.NET

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi all;
I need to be able to perform XPath queries on JSON data. Ive got it working using Newtonsoft.Json which converts to XML and then I use XmlDocument. But Im guessing this is not the most efficient approach.
So... First is it better to use Newtonsoft.Json or the official .NET 4.5 JSON library? And if the 4.5 library, is it available for 3.5 (we are presently stuck on 3.5)?
Second, is there a way to use ObjectXPathNavigator with either of these? And is that the best approach?
thanks - dave <hr class="sig Who will win http://www.windward.net/Windward_International_Collegiate_Programming_Championships.php
The International Collegiate Programming Championships ?

View the full article
 
Back
Top