Is it possible with Newtonsoft JSON to specify which fields should be encoded and which should be decoded?
I have an object, where all fields should be deserialized, but when serializing some fields should be ignored.
I know of JsonIgnoreAttribute, but that ignores in both directions.
Does anyone know how to achieve this?