Hi, Im trying to parse this json
code
{"id":"000000","name":"Gregory Pilar","first_name":"Gregory","last_name":"Pilar","link":"https:\/\/www.facebook.com\/gregory","work":[{"employer":{"id":"351689138300286","name":"Solvex Dominicana"},"location":{"id":"110423385653396","name":"Santo Domingo, Dominican Republic"},"start_date":"2013-01-01"},{"employer":{"id":"161926417177420","name":"APAP"},"start_date":"0000-00","end_date":"0000-00"}],"education":[{"school":{"id":"110818552288372","name":"politecnico"},"with":[{"id":"100001506330882","name":"Evelin Acosta"}]},{"school":{"id":"115294558484050","name":"Politecnico Lic. Victor Estrella Liz (La Perito)"},"year":{"id":"140617569303679","name":"2007"},"type":"High School"},{"school":{"id":"153111598070639","name":"Universidad APEC"},"concentration":[{"id":"222253934471442","name":"Systems Engineering"}],"type":"College"}],"gender":"male","timezone":-4,"locale":"es_LA","verified":true,"updated_time":"2014-02-03T19:55:14+0000","username":"gregory"}
Im using Newtonsoft.Json
With this code line :
code
JObject obj = Newtonsoft.Json.Linq.JObject.Parse(result);
But it returns
code
System.NullReferenceException: Object reference not set to an instance of an object
Any Idea Why? I made a test on Windows Console and works fine