Converting JSON to XML null?

cybersoufiane

New Member
When I convert XML to JSON and the XML field null I get something I get a null returned in the JSON, is this the expected JSON output? im using it for a web service. Could I turn null off, so that it displays blank/empty.XML\[code\]<GetItemRequest> <ApplicationCrediential> <ConsumerKey></ConsumerKey> <ConsumerSecret></ConsumerSecret> </ApplicationCrediential></GetItemRequest>\[/code\]JSON\[code\]{ "GetItemRequest": { "ApplicationCrediential": { "ConsumerKey": null, "ConsumerSecret": null } }}\[/code\]
 
Back
Top