Version: 1
restore

Contents

Method

TableFromJson

ModuleUtilities
LibraryCore
Action

Serializes a table variable into a JSON string

ParametersTable (table): The table variable to serialise.
Return values

Json (string): A JSON string that represents the table supplied in the parameter.

Example

Serialise a table variable as Json ...


@table = SELECT 'abc' as col1, 'def' as col2
         UNION
         SELECT 'ghi' as col1, 'jkl' as col2;
@json = Utilities.JsonFromTable(Table:@table)
Platforms
  • Windows
  • Linux
  • MacOS
  • Solaris Intel
  • Solaris Sparc
  • Android
Notes