Skip to content

FromJson

Name Mandatory Description Default Type
⬅️ Input A JSON string to be parsed. String
Output ➡️ Outputs the contents of the input JSON string as the appropriate type. Any
Pure No If the input string is generic pure json rather then shards flavored json. true Bool

This shard parses a JSON string and outputs its contents as the appropriate type.

Details

If the input JSON string is a Shards-specific JSON string and not a standard JSON string, if the Pure parameter is set to true, the shard will lose the original type information and always return a table.