How to properly de-/serialize Collections to JSON

In my example, I do use the Camunda SPIN type - so far working. Currently adding integration with Camunda’s form SDK. Though, I ran into a few annoyances with Eclipse Neon v3 editor…

Seems that the extra “<script” attributes aren’t copasetic with Neon’s HTML view.
This breaks the Eclipse HTML/script editor goodness:

<script cam-script type="text/form-script">

see end of this thread for some code examples

Also, for gitHub, see method:

public JsonNode caseBasicStartSpin(JsonNode postpayload)" 

Also, take a look at how I verify process variables with a “print” method delegate:

NOTE: with Camunda Case, there’s a different delegate type - remember to use the correct one per model -

BPMN:

public void printvariables(DelegateExecution execution)

CMMN/Case:

public void printCaseVariables(DelegateCaseExecution execution)