json-typescript-mapper
json-typescript-mapper copied to clipboard
default values
Hi, i have some predefined fields like this: class Student { _dir1:string @JsonProperty('name') fullName:string;
constructor() {
this.fullName = undefined;
this._dir1 = "whatever";
}
} but my output is: _dir1: undefined,
How should i create default values?
Any news about this? ... I'm facing the same problem
HELLO?