The in.asJavaVars() is a Map<String, Object> as required.
I tried different things to provide my Jsons. The most promising were: String myJson = "{\"tag\":\"okidoki\",\"isOk\":\"false\"}" Spin.JSON(myJson) new JsonValueImpl(Spin.JSON(myJson), null, null, true)
Both give me: org.camunda.bpm.engine.ProcessEngineException: Cannot find serializer for value 'Untyped value '{"tag":"okidoki","isOk":"false"}', isTransient = false'.
I found no other API that allows to start the Process with Typed Variables.
Hi @Ingo_Richtsmeier
Thanks - that was all that was needed - I was mislead, as it worked in the Spring Boot App without any configuration (dependency is enough).
Greetings, Pascal