Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

JSON methods and components

Updated on October 19, 2022

Use JSON methods to add and adjust JSON objects in your automations.

Components

ComponentDescription
JSONUtilsProvides methods for working with JSON objects.

Methods

MethodDescription
DeserializeObjectDeserializes a JSON string into an object of the given type.
GetValueFromJSONParses a value out of the JSON string that you provide for the specified key.
ParseLoads a JObject from a string that contains JSON.
SerializeObjectSerializes an object into a JSON string.
SetValueInJSONSets a value for a JSON key that is in a JSON string.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us