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

How to map to a Map

Open andrashatvani opened this issue 8 years ago • 3 comments

export class ClassWithMapField {
  mapField:Map<string,string>;
}

andrashatvani avatar Nov 28 '16 13:11 andrashatvani

The library intend to map to a custom class instead of a map or set. so can't do it

jf3096 avatar Nov 29 '16 06:11 jf3096

I mean a map field of a custom class. :relaxed:

andrashatvani avatar Nov 29 '16 07:11 andrashatvani

sorry, didn't consider this data structure

jf3096 avatar Dec 01 '16 00:12 jf3096