Open jonghshin opened 4 years ago
It looks like it is not serializing getters. The code below does not serialize the getter property.
export class ProjectModule extends ProjectBase { @JsonProperty({ name: "t" }) public get ProjectType(): ProjectType { return ProjectType.Module; } }
It only works with the code like this.
export class ProjectModule extends ProjectBase { @JsonProperty({ name: "t" }) public readonly ProjectType: ProjectType = ProjectType.Module; }
Any plan to implement getters and setters de/serialization?
It looks like it is not serializing getters. The code below does not serialize the getter property.
It only works with the code like this.
Any plan to implement getters and setters de/serialization?