Skip to main content

.NET Object to JSON

Description

Converts or Serializes the specified .NET object to JSON string.

Properties

Input

  • Object – The .NET object to be serialized to JSON.
  • Format Text – Specifies if the JSON content should be formatted.
note

Choose the appropriate .NET type of the object while adding this activity into the sequence.

Optional

  • Continue On Error – Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False.
note

If this activity is present inside Try Catch activity and the value of this property is True, it will ignore errors during the execution of automation.

Misc

  • DisplayName – The display name of the activity.
  • Private – If selected, the values of variables and arguments supplied will never be logged.

Output

  • Result – Serialized JSON content

Example

Download Example

DotNet to JSON Object