Get JSON Value <T> Activity

Description:

Gets a specific value from within JSON text using JPath syntax.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.CodeActivity
      Geocortex.Workflow.Activities.GetJsonValue<T>

Function:

This activity allows you to extract a value from within a JSON document by specifying the path to the value.

The type of the value must match the specified type T.

In a Workflow:

You would use this activity to get a single values from within a JSON document.

Properties:

Name Description

In Arguments

JSON

The JSON text to parse.

Path

The JPath expression used to select the value.

See http://www.newtonsoft.com/json/help/html/SelectToken.htm for more information on JPath syntax.

Misc

Display Name

GetJsonValue

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 value.

Version Information:

Supported from: Geocortex Essentials 4.4.