Json.Document
This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.
Returns the contents of a JSON document. The contents may be directly passed to the function as text, or it may be the binary value returned by a function like File.Contents.
Json.Document(jsonText as any, optional encoding as nullable number) as any
| Argument | Description |
|---|---|
| jsonText | Json formatted text. |
| optional encoding | The encoding value. |
Json.Document("{""glossary"": { ""title"": ""Example glossary"" } }")
equals [glossary = [title = "Example glossary"]]
Show: