title: Modify a property value in json string
body: <p>i have a json string like this</p>
  
  <pre><code>{
    "code": "200",
    "data": "",
    "datadetail": null,
    "message": "Khách hàng không tồn tại",
    "description": "KH_NOTFOUND:"
  }
  </code></pre>
  
  <p>because the value of data property is "" so that the object mapper can't not map that field in to Java POJO, is that anyway to modify the value of data property to specific string like below </p>
  
  <pre><code> {
    "code": "200",
    "data": "no data",
    "datadetail": null,
    "message": "Khách hàng không tồn tại",
    "description": "KH_NOTFOUND:"
  }
  </code></pre>
  
  <p>here is the error <a href="https://i.stack.imgur.com/gWfoi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gWfoi.png" alt="1"></a></p>
  
  <p>detail </p>
  
  <blockquote>
    <p>Can not instantiate value of type [collection type; class java.util.ArrayList, contains [simple type, class vnptpay.collection.adapter.partner.water.laichau.Datum]] from String value (''); no single-String constructor/factory method</p>
  </blockquote>
  
  <p>here is my target java object class to map </p>
  
  <pre><code>@JsonInclude(JsonInclude.Include.NON_NULL)
  @JsonPropertyOrder({
  "code",
  "data",
  "datadetail",
  "message",
  "description"
  })
  @JsonIgnoreProperties(ignoreUnknown = true)
  public class GetBillResponse implements Serializable{
  
  @JsonProperty("code")
  private String code;
  @JsonProperty("data")
  private ArrayList&lt;Datum&gt; data = null;
  @JsonProperty("datadetail")
  private Object datadetail;
  @JsonProperty("message")
  private String message;
  @JsonProperty("description")
  private String description;
  @JsonIgnore
  private Map&lt;String, Object&gt; additionalProperties = new HashMap&lt;String, Object&gt;();
  </code></pre>
  
  <p>here is my mapping code </p>
  
  <pre><code>ObjectMapper mapper = new ObjectMapper();
  GetBillResponse obj = null;
  
  obj = mapper.readValue(output.toString(), GetBillResponse.class);
  </code></pre>