Hacker News new | ask | show | jobs
by NotTameAntelope 1400 days ago
Instantiate a new object of the class with the JSON as arguments, is one way.

I’ve built a bunch of these systems, keeping your data separate solves a lot of future problems.