Changed the channel name: Broken Serialization after using [JsonProperty]
by user 395602247196737546
Changed the channel name: Broken Serialization after using [JsonProperty]
by user 395602247196737546
There’s no special caching or handling for that.
It’s @serializable()
- maybe because of the missing () ?
Sorry, just a typo when replicating it here.
by user 395602247196737546
It also works when I put e.g. [JsonObject(MemberSerialization.Fields)]
on the class. When I remove it again, it stops working.
by user 395602247196737546
It sounds a bit like something is wrong but adding/removing the attribute doesnt persistently cause a different behaviour. Do you see any errors in the console?
no
by user 395602247196737546
I had a [JsonObject(MemberSerialization.OptIn)]
on the base class…
by user 395602247196737546
going to delete this…
by user 395602247196737546