uEngine5 BPMS that totally re-written in Microservices architecture. uEngine5 can act as not only a conventional Workflow or BPMS but also as a REST api orchestrator or a BPaaS (Business process as a service) of members of OCE's MSA components.
MIT License
10
stars
13
forks
source link
Typed JSON 에서의 Unexpected token (START_OBJECT), expected VALUE_STRING: need JSON String that contains type id #114
In terms of using Typed JSON, sometimes this kind of serialization error usually occurs:
Unexpected token (START_OBJECT), expected VALUE_STRING: need JSON String that contains type id(java.util.List)
This occurs when then generic type of List is an abstract class, we should provide the prototype of the json data like:
-case1:
Java:
Javascript JSON should be:
But the case that the generic type is not an abstract class or final class, the JSON should be regular array:
in Java:
Javascript JSON should be:
Actual example in uEngine model:
SubProcess.vue