メインコンテンツまでスキップ
バージョン:25.4

JSONFormat

Function

JSONFormat() generates text in JSON format for any SenseTalk value. Use the JSONformat function to generate text in JSON format for use with another program, or for sending data to a web service or other processes that use JSON format. (Added in SenseTalk 1.61)

Example:

put contentValue's JSONFormat into file outfile

Note: As of an update in 1.64, JSONFormat() works with new boolean values (yes, no, on, off), represented as true and false in JSON. Also, <missing value> is now represented as null in JSON.

Further Reading

Resources in our other reference manuals.

Related terms in the SenseTalk Dictionary.