Possible to convert JSON to WSDL object?
p-doyle opened this issue · 2 comments
p-doyle commented
Is it possible to use JSON to, for example, populate fields in TrackSelectionDetail? I was hoping to be able to use something like the below:
{'ShipmentAccountNumber': '1234', 'PackageIdentifier': {'Type': 'SHIPPER_REFERENCE', 'Value': 'myreference'}}
I see there are helper functions to convert from WSDL to dict but didn't see anything to do the reverse... is this possible?
Thanks for the great library!
radzhome commented
There is no helper now, it could be done yeah.
radzhome commented
send a PR if you have, I will close