Json.Document

About

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.

Syntax

Json.Document(jsonText as any, optional encoding as nullable number) as any  

Arguments

Argument Description
jsonText Json formatted text.
optional encoding The encoding value.

Example

Json.Document("{""glossary"": { ""title"": ""Example glossary"" } }")    
equals  [glossary = [title = "Example glossary"]]