Invention Grant
- Patent Title: XML serialization and deserialization
- Patent Title (中): XML序列化和反序列化
-
Application No.: US11009160Application Date: 2004-12-10
-
Publication No.: US07676740B2Publication Date: 2010-03-09
- Inventor: Keith W Ballinger , Erik B. Christensen , Stefan H. Pharies
- Applicant: Keith W Ballinger , Erik B. Christensen , Stefan H. Pharies
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agency: Workman Nydegger
- Main IPC: G06F17/00
- IPC: G06F17/00

Abstract:
An object instance is serialized to a serial format, such as an eXtensible Markup Language (XML) document, based on a mapping between an arbitrary annotated source code file and a schema. The arbitrary annotated source code contains at least one programming type that describes a shape of an object instance and the schema describes a format of a document having a serial format. The mapping defines a correspondence between the shape of the object instance and the format of the document having the serial format. Subsequently, an object instance is converted to the serial format by converting public properties, public fields and method parameters of the object instance to a document having the serial format based on the mapping. Once the mapping is defined, an XML document can also be converted to an object instance based on the mapping.
Public/Granted literature
- US20050097504A1 XML serialization and deserialization Public/Granted day:2005-05-05
Information query