Custom XML Deserializer for Stream Analytics ingestion to Synapse SQL

Published Dec 01 2020 03:32 AM 2,318 Views
Microsoft

High throughput streaming ingestion into Synapse SQL Pool is now available. Read the blog post here on the announcement.

 

Interestingly, I have been working with an enterprise customer which has streaming data in XML and produces close to 60GB/minute of streaming data. In this blog post, I will walk through the steps to implement a custom deserializer to stream XML events in .NET which will be deployed as Azure Stream Analytics (ASA) job. The data deserialized will be further ingested into Azure Synapse SQL Pool (provisioned data warehouse).

 

With custom deserializer programming, it is flexible to handle almost any types of data formats.

 

Create Azure Stream Analytics Application in Visual Studio

Launch Visual Studio 2019. Make sure you have Azure Stream Analytics tools for Visual Studio is installed. Follow the instruction here to install.

Click Create a new Project and select Azure Stream Analytics Custom Deserializer Project (.NET). Give the project a name and click Create.

 

Picture2.png

 

Once the project is created, next is to create the deserializer class. Events that are parsed in certain formats, needs to be flatten into a tabular format. This is addressed as deserialization. Let’s create a new class that will be instantiated to deserialize the incoming events.
Right click the project > Add New Item > Class. Name the C# class as Grocery and click Add.

Picture3.png

 

Once the C# class file is created, next is to create the class members which defines the properties of the object. In our example, the object is an XML event which captures the grocery transactions happening at Point of Sales.
Here is how the event records looks like in XML for each stream.

Picture4.png

 

 

<Groceries>
<Grocery>
 <name>Roasting Pan</name>
 <storeId>1008</storeId>
 <category>Kitchen</category>
 <producttype>5</producttype>
 <price>17.99</price>
 <timestamp>1606185743.597676</timestamp></Grocery>
<Grocery>
 <name>Cutting Board</name>
 <storeId>1005</storeId>
 <category>Kitchen</category>
 <producttype>10</producttype>
 <price>12.99</price>
 <timestamp>1606185747.236039</timestamp>
</Grocery>
<Groceries>

 

 

Open the Grocery.cs file, and modify the class with the properties as below:

 

 

public class Grocery
    {
        public string storeId { get; set; }

        public string timestamp { get; set; }

        public string producttype { get; set; }

        public string name { get; set; }

        public string category { get; set; }

        public string price { get; set; }

    }

 

 

Check out the docs here for the Azure Stream Analytics supported data types.

Next, we just need to code the block that calls the Deserialize function of XmlSerializer class and specify the class that needs to be instantiated as a type of, in this case, as a type of Grocery.

Open the ExampleDeserializer.cs file, and replace the entire body of the Deserialize function with the code below:

 

 

XmlSerializer serializer = new XmlSerializer(typeof(List<Grocery>), new XmlRootAttribute("Groceries"));

List<Grocery> productList = (List<Grocery>)serializer.Deserialize(stream);

foreach (var Product in productList)
{
    yield return new Grocery()
    {
        category = Product.category,
        name = Product.name,
        price = Product.price,
        storeId = Product.storeId,
        producttype = Product.producttype,
        timestamp = Product.timestamp
    };
}

 

 

There are errors highlighted and this indicates that the reference to the XMLSerializer dll is yet to be referenced. Point over to the XMLSerializer class and press Ctrl + . (dot notation) in your keyboard and add the reference to System.XML.Serialization.

Picture6.png

Repeat the same for Grocery.

Picture7.png

 

Replace the return type of the Deserialize method from CustomEvent to Grocery. The method should like as below:

 

Picture8.png

 

 

1. The code block above receives the incoming streaming events as a type of Stream.

2. New serializer object instantiated specifying the class of how each event records should be read as, in this case, as a type of Grocery.

3. Incoming stream input is being parsed as argument to the Deserializer method and a type cast to Grocery specifies that the object should be returned as a type of Grocery.

4. The deserialized object is instantiated as a type of Grocery and its attribute properties are initialized and the object is returned back to the caller. At this point, any customization such as discount calculations can be implemented if required. It is programming, almost anything can be programmed. :smiling_face_with_smiling_eyes:

 

Next, replace the return type from CustomEvent to the CustomCSVDeserializer class instantiation as shown below:

Picture9.png

 

That’s all for the programming of the deserializer. We will need to build the project so that the DLL can be compiled. Right click on the project and click Build project.

 

Next, we will need to create an Azure Stream Analytics application which can then be deployed to as a Azure Stream Analytics job. Add new Project to the same solution. Right click on the solution > Add > New Project > Azure Stream Analytics Application. Give a name to the project and click Create.

 

Picture10.png

 

Once the Azure Stream Analytics project is created, right click on References > Projects > select the only project shown.

Picture11.png

 

With the deserializer project added as a reference, next is to specify the input and output for the Azure Stream Analytics job. We will first configure the input to the Azure Event Hub. This blog assumes that the application at the Point-Of-Sale machine has already been configured to stream its events to Azure Event Hub. Check out our documentation here to understand this configuration.

In the Azure Stream Analytics application, expand the Inputs folder and double click on the Input.json file. Ensure the Source Type is set to Data Stream and the Source is set to Event Hub. The rest of the configuration is just to specify the Azure Event Hub resource. I have specified as below:

 

Picture12.png

 

Next, the Output needs to be configured. At present, Visual Studio does not support the Output option to Azure Synapse Analytics. However, this can be easily configured once the Azure Stream Analytics job is deployed to Azure. For now, let’s configure the output to Azure Data Lake Storage. Expand Output folder and double click Output.json file.

Select the Sink to Azure Data Lake Storage Gen2/Blob Storage. The remaining of the fields requires the container name (create one if there are none) in the Azure Data Lake Storage and the storage account key. Configure this as required. I have configured as below:

Picture13.png

We are done configuration the Azure Stream Analytics project. Right click the project and click Build.

Once build succeeded with no errors, right click the project, and click on Publish to Azure. Select the option to create a job and configure the subscription and the resource group to deploy the ASA job.

 

Picture14.png

 

Do note that custom deserializer currently only supports limited regions which includes West Central US, North Europe,East US, West US, East US 2 and West Europe. You can request support for additional regions. Please refer to our documentation here.

Once the project is successfully published, changing the output to Azure Synapse SQL Pool (provisioned data warehouse) will be the next step.

 

Configuring Output to Azure Synapse Analytics

With Visual Studio open, you can click the icon from the ASA job deployed summary pane itself as shown below.

 

Picture15.png

 

In the Azure Portal, click on the Azure Stream Analytics job output. Click Add output and select Azure Synapse Analytics (formerly SQL DW).

 

Picture16.png

 

Prior selecting the destination to Azure Synapse SQL data warehouse, please ensure the table is created in the provisioned SQL Pool.

The Output configuration specifies the destination table. I have configured as below:

Picture17.png

 

Once the Output configured successfully, next we can configure the job to stream the output to Azure Synapse SQL data warehouse. The older Output to Azure Data Lake Storage Gen2 can be deleted if wanted to. Click on the job query, type in the query as below and click Save query.

 

 

SELECT
   category,
   name,
   price,
   storeId,
   producttype,
   timestamp
INTO
    [factgrocerysales]
FROM
    [Input]

 

 

The INTO clause above specifies the destination data warehouse with the alias named as above.

That’s all. We are now ready to run the job. Navigate back to the job page and click Start. This will resume the job.

 

Picture18.png

 

As the job is running, I have triggered the event producer which simulates the Point-Of-Sales scenario which captures the transactions as XML events.

Querying the table in SSMS, shows the events are streamed and written to Azure Synapse Analytics data warehouse successfully.

Picture19.png

1 Comment
Frequent Visitor

Hello,

I currently worked on a Custom Xml Deserialiser, but I have some data in the node. Like this example :

<?xml version="1.0" encoding="UTF-8"?>
<DataList>
   <Data dataId="00272" name="Name-1234" timezone="+02:00">
      <InfoData time="2021-01-07T16:20:35" deviceType="Type1" address="192.168.1.1" />
	  <SubData suDataId="0001" name="SubData-1" u="m">
         <Values>
            <Value t="2021-01-07T16:16:00" e="05">1</Value>
            <Value t="2021-01-07T16:18:00" e="05">2</Value>
            <Value t="2021-01-07T16:20:00" e="05">3</Value>
         </Values>
      </SubData>
	  <SubData suDataId="0001" name="SubData-1" u="m">
         <Values>
            <Value t="2021-01-07T16:16:00" e="05">1</Value>
            <Value t="2021-01-07T16:18:00" e="05">2</Value>
            <Value t="2021-01-07T16:20:00" e="05">3</Value>
         </Values>
      </SubData>
	  <SubData suDataId="0001" name="SubData-1" u="m">
         <Values>
            <Value t="2021-01-07T16:16:00" e="05">1</Value>
            <Value t="2021-01-07T16:18:00" e="05">2</Value>
            <Value t="2021-01-07T16:20:00" e="05">3</Value>
         </Values>
      </SubData>
	</Data>
</DataList>

How I can deserialize this type of message without losing the information in the node (like "name" in the example) ?

%3CLINGO-SUB%20id%3D%22lingo-sub-1943983%22%20slang%3D%22en-US%22%3ECustom%20XML%20Deserializer%20for%20Stream%20Analytics%20ingestion%20to%20Synapse%20SQL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1943983%22%20slang%3D%22en-US%22%3E%3CP%3EHigh%20throughput%20streaming%20ingestion%20into%20Synapse%20SQL%20Pool%20is%20now%20available.%20Read%20the%20blog%20post%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fanalytics-on-azure%2Fhigh-throughput-streaming-ingestion-to-synapse-sql-pools%2Fba-p%2F1670861%22%20target%3D%22_blank%22%3Ehere%3C%2FA%3E%20on%20the%20announcement.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EInterestingly%2C%20I%20have%20been%20working%20with%20an%20enterprise%20customer%20which%20has%20streaming%20data%20in%20XML%20and%20produces%20close%20to%2060GB%2Fminute%20of%20streaming%20data.%20In%20this%20blog%20post%2C%20I%20will%20walk%20through%20the%20steps%20to%20implement%20a%20custom%20deserializer%20to%20stream%20XML%20events%20in%20.NET%20which%20will%20be%20deployed%20as%20Azure%20Stream%20Analytics%20(ASA)%20job.%20The%20data%20deserialized%20will%20be%20further%20ingested%20into%20Azure%20Synapse%20SQL%20Pool%20(provisioned%20data%20warehouse).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWith%20custom%20deserializer%20programming%2C%20it%20is%20flexible%20to%20handle%20almost%20any%20types%20of%20data%20formats.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1183619831%22%20id%3D%22toc-hId--1183619829%22%20id%3D%22toc-hId--1183619829%22%20id%3D%22toc-hId--1183619829%22%3ECreate%20Azure%20Stream%20Analytics%20Application%20in%20Visual%20Studio%3C%2FH2%3E%0A%3CP%3ELaunch%20Visual%20Studio%202019.%20Make%20sure%20you%20have%20Azure%20Stream%20Analytics%20tools%20for%20Visual%20Studio%20is%20installed.%20Follow%20the%20instruction%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fstream-analytics%2Fstream-analytics-tools-for-visual-studio-install%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E%20to%20install.%3C%2FP%3E%0A%3CP%3EClick%20Create%20a%20new%20Project%20and%20select%20Azure%20Stream%20Analytics%20Custom%20Deserializer%20Project%20(.NET).%20Give%20the%20project%20a%20name%20and%20click%20Create.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Picture2.png%22%20style%3D%22width%3A%20569px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236862iE296EF2C189BD40A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Picture2.png%22%20alt%3D%22Picture2.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20the%20project%20is%20created%2C%20next%20is%20to%20create%20the%20deserializer%20class.%20Events%20that%20are%20parsed%20in%20certain%20formats%2C%20needs%20to%20be%20flatten%20into%20a%20tabular%20format.%20This%20is%20addressed%20as%20deserialization.%20Let%E2%80%99s%20create%20a%20new%20class%20that%20will%20be%20instantiated%20to%20deserialize%20the%20incoming%20events.%3CBR%20%2F%3ERight%20click%20the%20project%20%26gt%3B%20Add%20New%20Item%20%26gt%3B%20Class.%20Name%20the%20C%23%20class%20as%20Grocery%20and%20click%20Add.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Picture3.png%22%20style%3D%22width%3A%20522px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236863iD1CD5CB7879B499D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Picture3.png%22%20alt%3D%22Picture3.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20the%20C%23%20class%20file%20is%20created%2C%20next%20is%20to%20create%20the%20class%20members%20which%20defines%20the%20properties%20of%20the%20object.%20In%20our%20example%2C%20the%20object%20is%20an%20XML%20event%20which%20captures%20the%20grocery%20transactions%20happening%20at%20Point%20of%20Sales.%20%3CBR%20%2F%3EHere%20is%20how%20the%20event%20records%20looks%20like%20in%20XML%20for%20each%20stream.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Picture4.png%22%20style%3D%22width%3A%20677px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236864iE8A7048076AB80FC%2Fimage-dimensions%2F677x123%3Fv%3D1.0%22%20width%3D%22677%22%20height%3D%22123%22%20role%3D%22button%22%20title%3D%22Picture4.png%22%20alt%3D%22Picture4.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markdown%22%3E%3CCODE%3E%3CGROCERIES%3E%0A%3CGROCERY%3E%0A%20%3CNAME%3ERoasting%20Pan%3C%2FNAME%3E%0A%20%3CSTOREID%3E1008%3C%2FSTOREID%3E%0A%20%3CCATEGORY%3EKitchen%3C%2FCATEGORY%3E%0A%20%3CPRODUCTTYPE%3E5%3C%2FPRODUCTTYPE%3E%0A%20%3CPRICE%3E17.99%3C%2FPRICE%3E%0A%20%3CTIMESTAMP%3E1606185743.597676%3C%2FTIMESTAMP%3E%3C%2FGROCERY%3E%0A%3CGROCERY%3E%0A%20%3CNAME%3ECutting%20Board%3C%2FNAME%3E%0A%20%3CSTOREID%3E1005%3C%2FSTOREID%3E%0A%20%3CCATEGORY%3EKitchen%3C%2FCATEGORY%3E%0A%20%3CPRODUCTTYPE%3E10%3C%2FPRODUCTTYPE%3E%0A%20%3CPRICE%3E12.99%3C%2FPRICE%3E%0A%20%3CTIMESTAMP%3E1606185747.236039%3C%2FTIMESTAMP%3E%0A%3C%2FGROCERY%3E%0A%3CGROCERIES%3E%3C%2FGROCERIES%3E%3C%2FGROCERIES%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOpen%20the%20Grocery.cs%20file%2C%20and%20modify%20the%20class%20with%20the%20properties%20as%20below%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-csharp%22%3E%3CCODE%3Epublic%20class%20Grocery%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20public%20string%20storeId%20%7B%20get%3B%20set%3B%20%7D%0A%0A%20%20%20%20%20%20%20%20public%20string%20timestamp%20%7B%20get%3B%20set%3B%20%7D%0A%0A%20%20%20%20%20%20%20%20public%20string%20producttype%20%7B%20get%3B%20set%3B%20%7D%0A%0A%20%20%20%20%20%20%20%20public%20string%20name%20%7B%20get%3B%20set%3B%20%7D%0A%0A%20%20%20%20%20%20%20%20public%20string%20category%20%7B%20get%3B%20set%3B%20%7D%0A%0A%20%20%20%20%20%20%20%20public%20string%20price%20%7B%20get%3B%20set%3B%20%7D%0A%0A%20%20%20%20%7D%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECheck%20out%20the%20docs%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fstream-analytics-query%2Fdata-types-azure-stream-analytics%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E%20for%20the%20Azure%20Stream%20Analytics%20supported%20data%20types.%3C%2FP%3E%0A%3CP%3ENext%2C%20we%20just%20need%20to%20code%20the%20block%20that%20calls%20the%20Deserialize%20function%20of%20XmlSerializer%20class%20and%20specify%20the%20class%20that%20needs%20to%20be%20instantiated%20as%20a%20type%20of%2C%20in%20this%20case%2C%20as%20a%20type%20of%20Grocery.%3C%2FP%3E%0A%3CP%3EOpen%20the%20ExampleDeserializer.cs%20file%2C%20and%20replace%20the%20entire%20body%20of%20the%20Deserialize%20function%20with%20the%20code%20below%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-csharp%22%3E%3CCODE%3EXmlSerializer%20serializer%20%3D%20new%20XmlSerializer(typeof(List%3CGROCERY%3E)%2C%20new%20XmlRootAttribute(%22Groceries%22))%3B%0A%0AList%3CGROCERY%3E%20productList%20%3D%20(List%3CGROCERY%3E)serializer.Deserialize(stream)%3B%0A%0Aforeach%20(var%20Product%20in%20productList)%0A%7B%0A%20%20%20%20yield%20return%20new%20Grocery()%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20category%20%3D%20Product.category%2C%0A%20%20%20%20%20%20%20%20name%20%3D%20Product.name%2C%0A%20%20%20%20%20%20%20%20price%20%3D%20Product.price%2C%0A%20%20%20%20%20%20%20%20storeId%20%3D%20Product.storeId%2C%0A%20%20%20%20%20%20%20%20producttype%20%3D%20Product.producttype%2C%0A%20%20%20%20%20%20%20%20timestamp%20%3D%20Product.timestamp%0A%20%20%20%20%7D%3B%0A%7D%0A%3C%2FGROCERY%3E%3C%2FGROCERY%3E%3C%2FGROCERY%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThere%20are%20errors%20highlighted%20and%20this%20indicates%20that%20the%20reference%20to%20the%20XMLSerializer%20dll%20is%20yet%20to%20be%20referenced.%20Point%20over%20to%20the%20XMLSerializer%20class%20and%20press%20Ctrl%20%2B%20.%20(dot%20notation)%20in%20your%20keyboard%20and%20add%20the%20reference%20to%20System.XML.Serialization.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Picture6.png%22%20style%3D%22width%3A%20538px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236868iAC7505AFC548BC7E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Picture6.png%22%20alt%3D%22Picture6.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ERepeat%20the%20same%20for%20Grocery.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Picture7.png%22%20style%3D%22width%3A%20571px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236870iCFD3C16BC92534FE%2Fimage-dimensions%2F571x333%3Fv%3D1.0%22%20width%3D%22571%22%20height%3D%22333%22%20role%3D%22button%22%20title%3D%22Picture7.png%22%20alt%3D%22Picture7.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EReplace%20the%20return%20type%20of%20the%20Deserialize%20method%20from%20CustomEvent%20to%20Grocery.%20The%20method%20should%20like%20as%20below%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Picture8.png%22%20style%3D%22width%3A%20624px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236871i4D886FCD7A846287%2Fimage-dimensions%2F624x398%3Fv%3D1.0%22%20width%3D%22624%22%20height%3D%22398%22%20role%3D%22button%22%20title%3D%22Picture8.png%22%20alt%3D%22Picture8.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E1.%20The%20code%20block%20above%20receives%20the%20incoming%20streaming%20events%20as%20a%20type%20of%20Stream.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E2.%20New%20serializer%20object%20instantiated%20specifying%20the%20class%20of%20how%20each%20event%20records%20should%20be%20read%20as%2C%20in%20this%20case%2C%20as%20a%20type%20of%20Grocery.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E3.%20Incoming%20stream%20input%20is%20being%20parsed%20as%20argument%20to%20the%20Deserializer%20method%20and%20a%20type%20cast%20to%20Grocery%20specifies%20that%20the%20object%20should%20be%20returned%20as%20a%20type%20of%20Grocery.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E4.%20The%20deserialized%20object%20is%20instantiated%20as%20a%20type%20of%20Grocery%20and%20its%20attribute%20properties%20are%20initialized%20and%20the%20object%20is%20returned%20back%20to%20the%20caller.%20At%20this%20point%2C%20any%20customization%20such%20as%20discount%20calculations%20can%20be%20implemented%20if%20required.%20It%20is%20programming%2C%20almost%20anything%20can%20be%20programmed.%20%3Asmiling_face_with_smiling_eyes%3A%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENext%2C%20replace%20the%20return%20type%20from%20CustomEvent%20to%20the%20CustomCSVDeserializer%20class%20instantiation%20as%20shown%20below%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Picture9.png%22%20style%3D%22width%3A%20600px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236872i6350768EC0D68D1E%2Fimage-dimensions%2F600x502%3Fv%3D1.0%22%20width%3D%22600%22%20height%3D%22502%22%20role%3D%22button%22%20title%3D%22Picture9.png%22%20alt%3D%22Picture9.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThat%E2%80%99s%20all%20for%20the%20programming%20of%20the%20deserializer.%20We%20will%20need%20to%20build%20the%20project%20so%20that%20the%20DLL%20can%20be%20compiled.%20Right%20click%20on%20the%20project%20and%20click%20Build%20project.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENext%2C%20we%20will%20need%20to%20create%20an%20Azure%20Stream%20Analytics%20application%20which%20can%20then%20be%20deployed%20to%20as%20a%20Azure%20Stream%20Analytics%20job.%20Add%20new%20Project%20to%20the%20same%20solution.%20Right%20click%20on%20the%20solution%20%26gt%3B%20Add%20%26gt%3B%20New%20Project%20%26gt%3B%20Azure%20Stream%20Analytics%20Application.%20Give%20a%20name%20to%20the%20project%20and%20click%20Create.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Picture10.png%22%20style%3D%22width%3A%20547px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236873iD179EE958E940546%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Picture10.png%22%20alt%3D%22Picture10.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20the%20Azure%20Stream%20Analytics%20project%20is%20created%2C%20right%20click%20on%20References%20%26gt%3B%20Projects%20%26gt%3B%20select%20the%20only%20project%20shown.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Picture11.png%22%20style%3D%22width%3A%20437px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236874i2DD86E84EAB11A70%2Fimage-dimensions%2F437x158%3Fv%3D1.0%22%20width%3D%22437%22%20height%3D%22158%22%20role%3D%22button%22%20title%3D%22Picture11.png%22%20alt%3D%22Picture11.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWith%20the%20deserializer%20project%20added%20as%20a%20reference%2C%20next%20is%20to%20specify%20the%20input%20and%20output%20for%20the%20Azure%20Stream%20Analytics%20job.%20We%20will%20first%20configure%20the%20input%20to%20the%20Azure%20Event%20Hub.%20This%20blog%20assumes%20that%20the%20application%20at%20the%20Point-Of-Sale%20machine%20has%20already%20been%20configured%20to%20stream%20its%20events%20to%20Azure%20Event%20Hub.%20Check%20out%20our%20documentation%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fevent-hubs%2Fevent-hubs-dotnet-standard-getstarted-send%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E%20to%20understand%20this%20configuration.%3C%2FP%3E%0A%3CP%3EIn%20the%20Azure%20Stream%20Analytics%20application%2C%20expand%20the%20Inputs%20folder%20and%20double%20click%20on%20the%20Input.json%20file.%20Ensure%20the%20Source%20Type%20is%20set%20to%20Data%20Stream%20and%20the%20Source%20is%20set%20to%20Event%20Hub.%20The%20rest%20of%20the%20configuration%20is%20just%20to%20specify%20the%20Azure%20Event%20Hub%20resource.%20I%20have%20specified%20as%20below%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Picture12.png%22%20style%3D%22width%3A%20975px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236875i8C2A21E42B87483F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Picture12.png%22%20alt%3D%22Picture12.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENext%2C%20the%20Output%20needs%20to%20be%20configured.%20At%20present%2C%20Visual%20Studio%20does%20not%20support%20the%20Output%20option%20to%20Azure%20Synapse%20Analytics.%20However%2C%20this%20can%20be%20easily%20configured%20once%20the%20Azure%20Stream%20Analytics%20job%20is%20deployed%20to%20Azure.%20For%20now%2C%20let%E2%80%99s%20configure%20the%20output%20to%20Azure%20Data%20Lake%20Storage.%20Expand%20Output%20folder%20and%20double%20click%20Output.json%20file.%3C%2FP%3E%0A%3CP%3ESelect%20the%20Sink%20to%20Azure%20Data%20Lake%20Storage%20Gen2%2FBlob%20Storage.%20The%20remaining%20of%20the%20fields%20requires%20the%20container%20name%20(create%20one%20if%20there%20are%20none)%20in%20the%20Azure%20Data%20Lake%20Storage%20and%20the%20storage%20account%20key.%20Configure%20this%20as%20required.%20I%20have%20configured%20as%20below%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Picture13.png%22%20style%3D%22width%3A%20553px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236876i0D8CD633911A6F46%2Fimage-dimensions%2F553x588%3Fv%3D1.0%22%20width%3D%22553%22%20height%3D%22588%22%20role%3D%22button%22%20title%3D%22Picture13.png%22%20alt%3D%22Picture13.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EWe%20are%20done%20configuration%20the%20Azure%20Stream%20Analytics%20project.%20Right%20click%20the%20project%20and%20click%20Build.%3C%2FP%3E%0A%3CP%3EOnce%20build%20succeeded%20with%20no%20errors%2C%20right%20click%20the%20project%2C%20and%20click%20on%20Publish%20to%20Azure.%20Select%20the%20option%20to%20create%20a%20job%20and%20configure%20the%20subscription%20and%20the%20resource%20group%20to%20deploy%20the%20ASA%20job.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Picture14.png%22%20style%3D%22width%3A%20452px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236879i5E5B9D9F0E2AC475%2Fimage-dimensions%2F452x255%3Fv%3D1.0%22%20width%3D%22452%22%20height%3D%22255%22%20role%3D%22button%22%20title%3D%22Picture14.png%22%20alt%3D%22Picture14.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDo%20note%20that%20custom%20deserializer%20currently%20only%20supports%20limited%20regions%20which%20includes%20West%20Central%20US%2C%20North%20Europe%2CEast%20US%2C%20West%20US%2C%20East%20US%202%20and%20West%20Europe.%20You%20can%20request%20support%20for%20additional%20regions.%20Please%20refer%20to%20our%20documentation%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fstream-analytics%2Fcustom-deserializer-examples%23region-support%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3EOnce%20the%20project%20is%20successfully%20published%2C%20changing%20the%20output%20to%20Azure%20Synapse%20SQL%20Pool%20(provisioned%20data%20warehouse)%20will%20be%20the%20next%20step.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1303893002%22%20id%3D%22toc-hId-1303893004%22%20id%3D%22toc-hId-1303893004%22%20id%3D%22toc-hId-1303893004%22%3EConfiguring%20Output%20to%20Azure%20Synapse%20Analytics%3C%2FH2%3E%0A%3CP%3EWith%20Visual%20Studio%20open%2C%20you%20can%20click%20the%20icon%20from%20the%20ASA%20job%20deployed%20summary%20pane%20itself%20as%20shown%20below.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-size%3A%2012.0pt%3B%20line-height%3A%20107%25%3B%20font-family%3A%20'Segoe%20UI'%2Csans-serif%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Picture15.png%22%20style%3D%22width%3A%20377px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236880i1832B5E78DE9A983%2Fimage-dimensions%2F377x248%3Fv%3D1.0%22%20width%3D%22377%22%20height%3D%22248%22%20role%3D%22button%22%20title%3D%22Picture15.png%22%20alt%3D%22Picture15.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20the%20Azure%20Portal%2C%20click%20on%20the%20Azure%20Stream%20Analytics%20job%20output.%20Click%20Add%20output%20and%20select%20Azure%20Synapse%20Analytics%20(formerly%20SQL%20DW).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Picture16.png%22%20style%3D%22width%3A%20473px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236881i0C463DEA7B75D336%2Fimage-dimensions%2F473x345%3Fv%3D1.0%22%20width%3D%22473%22%20height%3D%22345%22%20role%3D%22button%22%20title%3D%22Picture16.png%22%20alt%3D%22Picture16.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPrior%20selecting%20the%20destination%20to%20Azure%20Synapse%20SQL%20data%20warehouse%2C%20please%20ensure%20the%20table%20is%20created%20in%20the%20provisioned%20SQL%20Pool.%3C%2FP%3E%0A%3CP%3EThe%20Output%20configuration%20specifies%20the%20destination%20table.%20I%20have%20configured%20as%20below%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Picture17.png%22%20style%3D%22width%3A%20295px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236882iCD29C811F426451C%2Fimage-dimensions%2F295x410%3Fv%3D1.0%22%20width%3D%22295%22%20height%3D%22410%22%20role%3D%22button%22%20title%3D%22Picture17.png%22%20alt%3D%22Picture17.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20the%20Output%20configured%20successfully%2C%20next%20we%20can%20configure%20the%20job%20to%20stream%20the%20output%20to%20Azure%20Synapse%20SQL%20data%20warehouse.%20The%20older%20Output%20to%20Azure%20Data%20Lake%20Storage%20Gen2%20can%20be%20deleted%20if%20wanted%20to.%20Click%20on%20the%20job%20query%2C%20type%20in%20the%20query%20as%20below%20and%20click%20Save%20query.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-sql%22%3E%3CCODE%3ESELECT%0A%20%20%20category%2C%0A%20%20%20name%2C%0A%20%20%20price%2C%0A%20%20%20storeId%2C%0A%20%20%20producttype%2C%0A%20%20%20timestamp%0AINTO%0A%20%20%20%20%5Bfactgrocerysales%5D%0AFROM%0A%20%20%20%20%5BInput%5D%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20INTO%20clause%20above%20specifies%20the%20destination%20data%20warehouse%20with%20the%20alias%20named%20as%20above.%3C%2FP%3E%0A%3CP%3EThat%E2%80%99s%20all.%20We%20are%20now%20ready%20to%20run%20the%20job.%20Navigate%20back%20to%20the%20job%20page%20and%20click%20Start.%20This%20will%20resume%20the%20job.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Picture18.png%22%20style%3D%22width%3A%20499px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236883i663CCEC3333ECAA8%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Picture18.png%22%20alt%3D%22Picture18.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20the%20job%20is%20running%2C%20I%20have%20triggered%20the%20event%20producer%20which%20simulates%20the%20Point-Of-Sales%20scenario%20which%20captures%20the%20transactions%20as%20XML%20events.%3C%2FP%3E%0A%3CP%3EQuerying%20the%20table%20in%20SSMS%2C%20shows%20the%20events%20are%20streamed%20and%20written%20to%20Azure%20Synapse%20Analytics%20data%20warehouse%20successfully.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22Picture19.png%22%20style%3D%22width%3A%20624px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236884i1A2AAD209BDA5DA7%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Picture19.png%22%20alt%3D%22Picture19.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1943983%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESynapse%20SQL%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2040893%22%20slang%3D%22en-US%22%3ERe%3A%20Custom%20XML%20Deserializer%20for%20Stream%20Analytics%20ingestion%20to%20Synapse%20SQL%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2040893%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20currently%20worked%20on%20a%20Custom%20Xml%20Deserialiser%2C%20but%20I%20have%20some%20data%20in%20the%20node.%20Like%20this%20example%20%3A%3C%2FP%3E%3CPRE%3E%26lt%3B%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%26gt%3B%0A%26lt%3BDataList%26gt%3B%0A%20%20%20%26lt%3BData%20dataId%3D%2200272%22%20name%3D%22Name-1234%22%20timezone%3D%22%2B02%3A00%22%26gt%3B%0A%20%20%20%20%20%20%26lt%3BInfoData%20time%3D%222021-01-07T16%3A20%3A35%22%20deviceType%3D%22Type1%22%20address%3D%22192.168.1.1%22%20%2F%26gt%3B%0A%20%20%20%26lt%3BSubData%20suDataId%3D%220001%22%20name%3D%22SubData-1%22%20u%3D%22m%22%26gt%3B%0A%20%20%20%20%20%20%20%20%20%26lt%3BValues%26gt%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%26lt%3BValue%20t%3D%222021-01-07T16%3A16%3A00%22%20e%3D%2205%22%26gt%3B1%26lt%3B%2FValue%26gt%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%26lt%3BValue%20t%3D%222021-01-07T16%3A18%3A00%22%20e%3D%2205%22%26gt%3B2%26lt%3B%2FValue%26gt%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%26lt%3BValue%20t%3D%222021-01-07T16%3A20%3A00%22%20e%3D%2205%22%26gt%3B3%26lt%3B%2FValue%26gt%3B%0A%20%20%20%20%20%20%20%20%20%26lt%3B%2FValues%26gt%3B%0A%20%20%20%20%20%20%26lt%3B%2FSubData%26gt%3B%0A%20%20%20%26lt%3BSubData%20suDataId%3D%220001%22%20name%3D%22SubData-1%22%20u%3D%22m%22%26gt%3B%0A%20%20%20%20%20%20%20%20%20%26lt%3BValues%26gt%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%26lt%3BValue%20t%3D%222021-01-07T16%3A16%3A00%22%20e%3D%2205%22%26gt%3B1%26lt%3B%2FValue%26gt%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%26lt%3BValue%20t%3D%222021-01-07T16%3A18%3A00%22%20e%3D%2205%22%26gt%3B2%26lt%3B%2FValue%26gt%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%26lt%3BValue%20t%3D%222021-01-07T16%3A20%3A00%22%20e%3D%2205%22%26gt%3B3%26lt%3B%2FValue%26gt%3B%0A%20%20%20%20%20%20%20%20%20%26lt%3B%2FValues%26gt%3B%0A%20%20%20%20%20%20%26lt%3B%2FSubData%26gt%3B%0A%20%20%20%26lt%3BSubData%20suDataId%3D%220001%22%20name%3D%22SubData-1%22%20u%3D%22m%22%26gt%3B%0A%20%20%20%20%20%20%20%20%20%26lt%3BValues%26gt%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%26lt%3BValue%20t%3D%222021-01-07T16%3A16%3A00%22%20e%3D%2205%22%26gt%3B1%26lt%3B%2FValue%26gt%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%26lt%3BValue%20t%3D%222021-01-07T16%3A18%3A00%22%20e%3D%2205%22%26gt%3B2%26lt%3B%2FValue%26gt%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%26lt%3BValue%20t%3D%222021-01-07T16%3A20%3A00%22%20e%3D%2205%22%26gt%3B3%26lt%3B%2FValue%26gt%3B%0A%20%20%20%20%20%20%20%20%20%26lt%3B%2FValues%26gt%3B%0A%20%20%20%20%20%20%26lt%3B%2FSubData%26gt%3B%0A%20%26lt%3B%2FData%26gt%3B%0A%26lt%3B%2FDataList%26gt%3B%3C%2FPRE%3E%3CP%3EHow%20I%20can%20deserialize%20this%20type%20of%20message%20without%20losing%20the%20information%20in%20the%20node%20(like%20%22name%22%20in%20the%20example)%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Version history
Last update:
‎Dec 01 2020 03:45 AM
Updated by: