How to leverage JSONUTils DeserializeObject method
Hi Support Community,
We have a JSON string which we are trying to deserialize using the OOTB JSONUtils toolbox item. There is limited documentation on how to use this component. I am trying to deserialize an object which has other objects and arrays within it. I am using the method:
String jsonString, Type objectType, out Object deserializedObject
DeserializeObject to given type
The properties panel of the component allows you to specify the keys that will be parsed and used as output parameters in the automation, but unsure of how to reference these parameters.
Can anyone help us figure this out? We've tried create proxy on the output port of the shape but gave no results. Thanks in advance!
I eventually figured it out myself. When deserializing the object a new method becomes available for the component you created (getValueFromJSONByKeys) which contains all the values you specified as jsonKeys in the deserializedObject method.