3. The method as in claim 1 wherein the first language comprises JavaScript or XSJS.
1. A computer-implemented method comprising: providing a code generation framework comprising an Application Program Interface (API) code generator element, a serializer code generator element, and a deserializer code generator element; and in response to the code generation framework receiving a model comprising an enumeration literal as an input, causing the API code generator element to parse the model and generate an API used to create, manipulate, save, and load a first model instance version in a first language comprising a scripting language having dynamic typing, causing the serializer code generator element to parse the model and generate serialization code used to create a second model instance version in a second language from the first model instance version, wherein the model instance version in the second language is created by a follow-on application comprising a graphical model editor, and causing the deserializer code generator element to parse the model and generate deserialization code used to convert a model instance version in the second language into the first language, wherein the deserialization code comprises, a resource object having attached a string representation of the second model instance version, and a resource set object containing the resource object and an added resource of a referenced class element of another model, wherein the deserializer code generator element does not generate an object property from the enumeration literal that is a key word in the first language.