[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eTO_STRING\u003c/code\u003e function converts numbers or JSON data into a string format.\u003c/p\u003e\n"],["\u003cp\u003eThis function supports Boolean and JSON data types as input.\u003c/p\u003e\n"],["\u003cp\u003eUsing \u003ccode\u003e$var1$.TO_STRING()\u003c/code\u003e, an integer like \u003ccode\u003e235\u003c/code\u003e can be converted to the string \u003ccode\u003e"235"\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eA complex JSON object can be converted to a string, such as converting the provided object with \u003ccode\u003e"dbIntegers"\u003c/code\u003e and \u003ccode\u003e"dbString"\u003c/code\u003e into a single string representation of that object.\u003c/p\u003e\n"]]],[],null,["# TO_STRING function\n\nSee the [supported connectors](/integration-connectors/docs/connector-reference-overview) for Application Integration.\n\nTO_STRING function\n==================\n\n`TO_STRING` function\n--------------------\n\nSupported data type\n-------------------\n\n\nThe `TO_STRING` function supports the following data types:\n\n- Boolean\n- JSON\n\nExample: Convert an integer to a string\n---------------------------------------\n\n\n**Sample data** : `$var1$ = 235`\n\n\n**Usage** : `$var1$.TO_STRING()`\nConvert var1 to a string.\n\n\n**Output** : `235`\n\nExample: Convert a JSON to a string\n-----------------------------------\n\n\n**Sample data**: \n\n```\n$var1$ =\n{\n \"dbIntegers\": [1.0, 2.0, 3.0, 4.0],\n \"dbString\": \"test\"\n}\n```\n\n\u003cbr /\u003e\n\n\n**Usage** : `$var1$.TO_STRING()`\nConvert *var1* to a string.\n\n\n**Output**: \n\n```\n{\n \"dbIntegers\": [\n 1,\n 2,\n 3,\n 4\n ],\n \"dbString\": \"test\"\n}\n \n```\n\n\u003cbr /\u003e\n\nRecommendation\n--------------\n\n- Learn how to add and configure a [Data Mapping task](/application-integration/docs/configure-data-mapping-task)"]]