Cheat Sheets/Power Apps/JSON
Power Fx function

JSONPower Fx function reference

Serialize a value to JSON.

Syntax

powerfx
JSON( Value [, Format ] )

Examples

powerfx
JSON(colCart, JSONFormat.Compact)
JSON text
powerfx
JSON(colCart, JSONFormat.Compact)
powerfx
JSON({Name: txtName.Text, Age: Value(txtAge.Text)})

Common mistakes & gotchas

Related Power Fx functions

From Data conversion

Used in these tutorials

← Back to the Power Apps (Power Fx) cheat sheet