1. A computer-implemented process for serialization of pre-initialized objects, the computer-implemented process comprising: receiving a source code definition of a class; identifying a set of constants associated with the class in the source code to form a set of identified constants; creating a result object corresponding to each constant in the set of identified constants; compiling the source code into a compiled form of the class; serializing each result object into a resource file associated with the class to form a set of serialized objects; and replacing, in the compiled form of the class, each reference to a respective constant associated with the class from the set of identified constants with a corresponding dynamic instruction using a respective serialized object in the set of serialized objects.