# How to convert a message to JSON data format
In this tutorial we will be converting a valid json string in the message to javascript object.
Following is the input json string which we will be using in this use case.
{
"name": "Tony",
"age" : 36
"location": "NSW"
}