Receiving a gif/jpeg files from json request using webMethods

Receiving a gif/jpeg files from json request using webMethods
I have a business case where I need to receive an image from Json request (as a document parameter string) and call destination service. What could be the best methods to do this…?? . The middleware version involved – 10.3)