User Manual

06.26.2025

MANUAL

Developer Function: Server Script: $ps.JSON.stringify

## Overview This function serializes objects that can be used in "[Server Script](/en/manual/table-management-server-script)", such as models, or objects returned from the server, into a string. ## Syntax ``` $ps.JSON.stringify(json) ``` ## Parameters |Parameters|Type|Required|Description| |:----------|:----------|:---:|:---------------------------| |json|object|Yes|The object to be serialized.| ## Return Value Returns the serialized string. ## Usage Example In the example below, the content of the JSON object is serialized and output to the console. ##### JavaScript ``` context.Log($ps.JSON.stringify({ x: 5, y: 6 })); ``` ##### Example Output ``` {"x":5,"y":6} ``` ## Supported Versions |Supported Versions|Body| |:--|:--| |1.4.12.0 or later|Added Function| ## Related Information <div id="ManualList"><ul><li><a href="/en/manual/table-management-server-script">Table Management: Server Script</a><span>08.13.2024 up</span></li></ul></article></div><input id="SearchTextHidden" type="hidden" value="" />
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.