json-typescript-mapper icon indicating copy to clipboard operation
json-typescript-mapper copied to clipboard

default values

Open jossErnesto opened this issue 7 years ago • 2 comments

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?

jossErnesto avatar Mar 16 '17 04:03 jossErnesto

Any news about this? ... I'm facing the same problem

aCard0s0 avatar Jul 13 '17 22:07 aCard0s0

HELLO?

Flyover-ArtSk avatar Sep 28 '18 15:09 Flyover-ArtSk