# Transforming message between JSON formats using JSLT expression

This scenario applies only to Talend ESB, Talend Data Services Platform, Talend Real-Time Big Data Platform, and Talend Data Fabric.

This scenario illustrates how to transform message between JSON formats using a template from the Studio repository, the local file system, and specified in the cJSLT component.

A JSON template file demo.jslt in the Studio repository and the local file system with the following content will be used in this scenario:

```
{
  "firstName": .givenName,
  "lastName": .sureName,
  "fullName": .givenName + " " + .sureName,
  "fileName": split(.path, "/")[-1],
  "unixTime": round(now() * 1000),
  "status": $headers.responseCode,
  * - givenName, sureName : .
}
```

For more information on how to create a Resource in the Studio, see [Creating a Route Resource](https://help.qlik.com/talend/en-US/studio-user-guide/8.0/creating-route-resource).

### In this section

* [Dropping and linking the components](https://help.qlik.com/talend/en-US/mediation-components/8.0/mediation-json-processing/cjslt-dropping-and-linking-components)
* [Configuring the components](https://help.qlik.com/talend/en-US/mediation-components/8.0/mediation-json-processing/cjslt-configuring-components)
* [Viewing code and executing the Route](https://help.qlik.com/talend/en-US/mediation-components/8.0/mediation-json-processing/cjslt-viewing-code-and-executing-route)

**Related reference**

* [cJSLT](https://help.qlik.com/talend/en-US/mediation-components/8.0/mediation-json-processing/cjslt "Uses JSLT templates to transform JSON messages.")

**Related information**

* [cTimer](https://help.qlik.com/talend/en-US/mediation-components/8.0/mediation-orchestration/ctimer)
* [cSetBody](https://help.qlik.com/talend/en-US/mediation-components/8.0/mediation-setbody/csetbody)
* [cLog](https://help.qlik.com/talend/en-US/mediation-components/8.0/mediation-logs-and-errors/clog)
* [cDirect](https://help.qlik.com/talend/en-US/mediation-components/8.0/mediation-direct/cdirect)
* [cMulticast](https://help.qlik.com/talend/en-US/mediation-components/8.0/mediation-multicast/cmulticast)
* [cSetHeader](https://help.qlik.com/talend/en-US/mediation-components/8.0/mediation-setheader/csetheader)