Json.FromValue

Syntax

Json.FromValue(value as any, optional encoding as nullable number) as binary

Description

Produces a JSON representation of a given value value with a text encoding specified by encoding. If encoding is omitted, UTF8 is used. Values are represented as follows:

Reference Data

https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference

Power Query M Functions / Text Functions / Json.FromValue