I’m using Newtonsoft.Json to turn json into objects, that works fine. I was wondering if there’s a nice way to reverse the process noting that i dont want to jsonise all the object fields. To paraphrase, is there a way to use Newtonsoft.Json to produce thinned down jsonised object representations?
I’m using Newtonsoft.Json to turn json into objects, that works fine. I was wondering
Share
Have you tried using the
JsonIgnoreto opt-out properties that you don’t want to be included in the JSON serialization? See this topic:http://james.newtonking.com/projects/json/help/ReducingSerializedJSONSize.html