Can not deserialize instance of java.util.ArrayList out of VALUE_STRING

前端 未结 5 1663
谎友^
谎友^ 2020-11-30 04:41

I have a REST service built with Jersey and deployed in the AppEngine. The REST service implements the verb PUT that consumes an application/json media type. Th

5条回答
  •  失恋的感觉
    2020-11-30 05:03

    do you try

    [{"name":"myEnterprise", "departments":["HR"]}]
    

    the square brace is the key point.

提交回复
热议问题