Subject: Re: [xsl] json to json transformation From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Fri, 15 Mar 2019 11:01:25 -0000 |
Input JSON fileB person.txt:
{ B B "id" : 105, B B "medals" : [1, 2, 3], B B "fName" : "Mukul", B B "lName" : "Gandhi", B B "address" : { B B B "street1" : "xyz", B B B "street2" : "maddison avenue", B B B "country" : "C1" B B } }
I wish to transform above JSON document, into another JSON document which should look like following,
{ B B "id" : 105, B B "medals" : [1, 2, 3], B B "name" : "Mukul Gandhi", B B "address" : { B B B "street1" : "xyz", B B B "street2" : "maddison avenue", B B B "country" : "C1" B B } }
<xsl:param name="json-string" as="xs:string">{ "id" : 105, "medals" : [1, 2, 3], "fName" : "Mukul", "lName" : "Gandhi", "address" : { "street1" : "xyz", "street2" : "maddison avenue", "country" : "C1" } }</xsl:param>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] json to json transformati, Michael Kay mike@xxx | Thread | Re: [xsl] json to json transformati, Mukul Gandhi gandhi. |
Re: [xsl] json to json transformati, Michael Kay mike@xxx | Date | Re: [xsl] json to json transformati, Mukul Gandhi gandhi. |
Month |