Package
#n Wyam.Json
Usage
-
Json()
The content of the input document is parsed as JSON. All root-level items are added to the input document's metadata. This is best for simple key-value JSON documents.
-
Json(string key, bool flatten = false)
The content of the input document is parsed as JSON. A dynamic object representing the JSON content is set as the value for the given metadata key. If flatten is true, all root-level items are also added to the input document's metadata.
key
The metadata key in which to set the dynamic JSON object.
flatten
If set to
true
, all root-level items are also added to the input document's metadata.