Skip to main content

jsonEncodeUtf8

Type

function

Summary

Converts a value to JSON format, encoded as a UTF-8 binary string.

Syntax

jsonEncodeUtf8(<pValue>)

Description

Use the jsonEncodeUtf8 function to convert a value into a UTF-8 encoded binary string in JSON format.

For more details about LiveCode's JSON encoding support see jsonEncode.

Parameters

NameTypeDescription

pValue

The value to be converted to JSON format.

Examples

jsonEncodeUtf8("abc") is strictly a binary string -- returns true

function: jsonEncode, jsonDecode, jsonEncodeAscii, jsonDecodeUtf8, jsonEncodeForDisplay

Compatibility and Support

Introduced

LiveCode Create 1.0

OS

mac

windows

linux

ios

android

web

Platforms

desktop

server

mobile