Json Broker

  • 28 July 2014
  • 3 replies
  • 3942 views

This service type generates objects that interpret JSON values.


3 replies

Hey there, 

 

I am using this Smart Object to work with the Returnvalue of the K2 Rest Broker (Community Broker).

The problem is, i can call the Method Deserialize Typed Array with the K2 Smart Object Tester and I get a List of Items.

But if I call the method within a Smart Object Event inside a Workflow I only get one single Item as return even though it is a List Method.

 

I now tried to Create a reference instead because I have to iterate trough every single item but i get following Error instead: 

Severity: Error Error Message: Unable to deserialize value JObject to ReturnMessage[]. InnerException Message

 How do I have to call the SmartObject Method to obtain multiple Items so I can iterate trough instead of just one? 

 

Thanks in advance 

 

Baris 

Hello,

 

Thanks for this broker, I've checked the code and I'm wondering if it allows to parse complex structures like nested objects or nested arrays.

Did you already test it on JSON file with arrays of arrays?

 

If this is not the case, do you have any suggestion to allow that?

 

Thanks for you help.

Fabien



BKeskins - were you able to resolve your issue? I'm in a similar situation and don't know how to get a handle on list in workflow.

Reply