Complete mapping between the XML infoset and dynamic language data expressions
First Claim
1. In a computer having a processor and memory and further including an extensible markup language (XML) serialization stack, a method performed by the computer to convert data expressed using JavaScript Object Notation (JSON) into an XML data structure for use with a service, the method comprising:
- receiving, at a translation module of the computer, a message including data expressed using JSON, the data expressed using JSON including type information; and
the translation module expressing the data expressed using JSON in an XML data structure, wherein the XML data structure preserves the original organization for the data by preserving the type information from the data expressed using JSON by naming one or more elements of the XML data structure with the name of the type of data that is enclosed by the corresponding element, wherein the type information includes at least one of an object, a number, a string, or an array.
2 Assignments
0 Petitions
Accused Products
Abstract
Converting data to an appropriate format for use with a service. An example method is illustrated where a message including data expressed using dynamic language data expressions is received. The dynamic language data expressions include a tree structure organization for the data. The data expressed using dynamic language data expressions is expressed in an XML data structure. The XML data structure preserves the original tree structure organization for the data.
-
Citations
15 Claims
-
1. In a computer having a processor and memory and further including an extensible markup language (XML) serialization stack, a method performed by the computer to convert data expressed using JavaScript Object Notation (JSON) into an XML data structure for use with a service, the method comprising:
-
receiving, at a translation module of the computer, a message including data expressed using JSON, the data expressed using JSON including type information; and the translation module expressing the data expressed using JSON in an XML data structure, wherein the XML data structure preserves the original organization for the data by preserving the type information from the data expressed using JSON by naming one or more elements of the XML data structure with the name of the type of data that is enclosed by the corresponding element, wherein the type information includes at least one of an object, a number, a string, or an array. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. In a computer having a processor and memory and further including an extensible markup language (XML) serialization stack, a method performed by the computer to convert data expressed using JavaScript Object Notation (JSON) into an XML data structure for use with a service, the method comprising:
-
receiving a message including data expressed using JSON, wherein the JSON message includes a tree structure organization for the data; and expressing the data expressed using JSON in an XML data structure, wherein the XML data structure preserves the original tree structure organization for the data by preserving type information from the data expressed using JSON by naming one or more elements of the XML data structure with the name of the type of data that is enclosed by the corresponding element, wherein the type information includes at least one of an object, a number, a string, or an array. - View Dependent Claims (11, 12, 13, 14)
-
-
15. A computer storage medium comprising computer executable instructions for performing the following acts:
-
receiving a message including data expressed using JSON, wherein the JSON message includes a tree structure organization for the data; and expressing the data expressed using JSON in an XML data structure, wherein the XML data structure preserves the original tree structure organization for the data by preserving type information from the data expressed using JSON by creating an element in the XML data structure for each of the items of data expressed using JSON that includes type information, and defining the type information of the corresponding item of data within an attribute of the corresponding element, wherein the type information includes at least one of an object, a number, a string, or an array.
-
Specification