{
  "id": "fn-string-to_string",
  "dataComponent": "string",
  "heading": {
    "title": "to_string",
    "badges": [
      "String"
    ]
  },
  "synopsis": "Converts any value value into a single string",
  "codeBlocks": [
    "extend(\"string\")\n\nsput( string:to_string(123) )\n// => \"123\"\n\nsput( string:to_string([1,2,3]) )\n// => \"[1, 2, 3]\"\n\nmyKeyed = [ name:\"Bob\", age:42, isCool:true ]\nsput( string:to_string(myKeyed) )\n// => \"{ name: Function(...) age: ... }\"\n// (The exact representation for KeyedArray may differ based on your debug printing logic.)\n\nsput( string:to_string(\"Hello, world!\") )\n// => \"Hello, world!\""
  ],
  "notes": [
    "Takes one argument (of any Value type) and returns a single string representation.",
    "If the Value is already a string, it simply returns that string.",
    "Use string:to_string in places where you need a textual representation of any data. or if a string is require by a function such as string:concat"
  ]
}
