This document describes how to use a custom transformer in Mule to convert a JSON payload to XML. The Mule flow uses a file inbound endpoint to pick up a JSON file, passes it through a custom transformer Java class that converts it to XML using JSON.toString(), and writes the XML output to a file using a file outbound endpoint. The JSON and generated XML contents are displayed. The custom transformer provides a simple way to transform between JSON and XML formats in Mule without writing additional code.