Hi. I'm pretty experienced with Javscript but totally new to JSON and
have a question...
Is it possible to use JSON to "populate" objects that are already
defined? For instance, I have two "classes":
function class1() {
this.class2_array;
}
function class2() {
this.prop1;
this.prop2;
this.prop3;
this.prop4;
}
I want to create a bunch of class2 objects in the class1.class2_array
property.
The existing classes already have their own methods, etc so it's not
just about storing data. Previously I created log signatures for class2
and basically created the objects the "old fashioned" way.
Can I do this?