basarat / basarat/typescript-book
TIP: converting JSON data to classes
Open
- Dominant language
- TypeScript
- Stars
- 21.6k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
Use `Object.assign` when available.
Sample : http://stackoverflow.com/a/34212743/390330 :rose:
Contributor guide
Research direction
Review the linked Stack Overflow example and locate the TypeScript book section covering conversion of JSON data to classes. Confirm where this tip belongs and whether the guidance should mention Object.assign; done means the relevant documentation includes the agreed example or reference.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100