How to serialize private fields ? #17602
nthonymiller
started this conversation in
General
Replies: 1 comment 2 replies
-
You can use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I serialize a readonly collection of objects?
I've tried doing using a private field with JsonProperty attribute but this doesn't work.
I'll be adding and removing items via methods.
Beta Was this translation helpful? Give feedback.
All reactions