Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,

In my angular 2 app. I want to use full qualified name while writing angular 2 programs. But when i retrive data from api, api give the compress properties.

I need some mapper logic which will help me to use full form of actual property name and it will automatically map compressed name with Full qualified name in typescript class model.

What I have tried:

Currently found no option which will work like displaynameattribute in mvc in my typescript angular 2 app.

Please suggest
Posted
Updated 16-Mar-17 20:46pm

1 solution

Google Search has a number of solutions for you: typescript json parse - Google Search[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900