JSON to Dictionary

Description:

An activity to parse JSON text to a dictionary.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.CodeActivity
      Geocortex.Workflow.Activities.JsonToDictionary

Function:

This activity converts a string of JSON text into a dictionary representation of the JSON object. This allows a workflow author to extract values from within the JSON.

In a Workflow:

This activity is often useful following a DownloadString or WebRequest activity that has obtained JSON textual content from a request. To access values contained within the JSON text you first need to parse the text to a dictionary using this activity. The dictionary provides a structured object that you can then use to access values.

The input text must be valid JSON.

Properties:

Name Description

In Arguments

JSON

The JSON text to parse.

Misc

Display Name

JsonToDictionary

You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain.

Out Arguments

Result

The result dictionary representation of the parsed JSON object.

Version Information:

Supported from: Geocortex Essentials 3.15.

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 4.11