18. An apparatus comprising: one or more processors; object transform logic configured for generating a JavaScript Object Notation (JSON) object, comprising: annotation receiving logic configured to receive and store one or more annotations that annotate one or more attribute declarations of a base object of an object-oriented programming environment, wherein the one or more annotations denote one or more JavaScript Object Notation (JSON) attributes; a JSON object creating unit configured to generate, at runtime of an executable computer program that has been created using the base object, a JSON object based upon the base object; a JSON object header unit configured to retrieve the annotations and to create creating a JSON header that comprises the annotations in a format compatible with a function library that expects name-value pair declarations and to attach the JSON header to the JSON object; a JSON object modifying unit configured to rename an attribute of the JSON object to an items attribute.
18. An apparatus comprising: one or more processors; object transform logic configured for generating a JavaScript Object Notation (JSON) object, comprising: annotation receiving logic configured to receive and store one or more annotations that annotate one or more attribute declarations of a base object of an object-oriented programming environment, wherein the one or more annotations denote one or more JavaScript Object Notation (JSON) attributes; a JSON object creating unit configured to generate, at runtime of an executable computer program that has been created using the base object, a JSON object based upon the base object; a JSON object header unit configured to retrieve the annotations and to create creating a JSON header that comprises the annotations in a format compatible with a function library that expects name-value pair declarations and to attach the JSON header to the JSON object; a JSON object modifying unit configured to rename an attribute of the JSON object to an items attribute. 20. The apparatus of claim 18 , wherein the annotation receiving logic is further configured to receive and store the one or more annotations by obtaining and storing a configuration file that comprises a class name, and one or more tags, each tag associating a name of a class attributes used in the class with a JSON attribute.