Table of contents
TOC
Collapse the table of content
Expand the table of content

Json.Document

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

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.

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

Arguments

ArgumentDescription
jsonTextJson formatted text.
optional encodingThe encoding value.

Example

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