Respected Sir, Forgot to mention, I cannot use xslt or datamapper mediator here as I am already facing issues with these mediators 1. because of the large size of json reuests in my project(datamapper) 2. and not able to configure and use xslt to transform json massages(xslt)
so request you to please guide to achieve this with payloadFactory. With Regards, Aditya On Wed, Jan 10, 2018 at 12:48 PM, aditya shivankar < [email protected]> wrote: > Respected Sir, > > Please find attached proj zip file and Rest api files. > > Input : > > { > "FirstName": { > "Type": "System.String", > "Value": "John", > "Original": "John" > }, > "LastName": { > "Type": "System.String", > "Value": "", > "Original": "" > }, > "Email": { > "Type": "System.String" > } > } > > Output of PayloadFactory : > { > "firstName": John, > "lastName": {"Value":null}, > "email": > } > > Expected Output : > { > "firstName": "John", > "lastName": "", > "email": "", > > } > > > > With Regards, > Aditya >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
