content: package com.alibaba.fastjson.issue_1200;
  
  import com.alibaba.fastjson.JSON;
  import org.junit.jupiter.api.Test;
  import org.springframework.util.LinkedMultiValueMap;
  
  import static org.junit.jupiter.api.Assertions.assertEquals;
  
  /**
   * Created by kimmking on 15/06/2017.
   */
  public class Issue1267 {
      @Test
      public void test_for_issue() {
          String json = "{\"message\":{\"refund_fee\":[\"0.01\"],\"pay_fee\":[\"0.01\"]},\"url\":\"http://localhost:8080\"}";
  
          LinkedMultiValueMap message = JSON.parseObject(
                  JSON.parseObject(json)
                          .getString("message"),
                  LinkedMultiValueMap.class
          );  // 这是可以反序列化通过的
  
          assertEquals("0.01", message.get("pay_fee").get(0));
  
          PushHttpMessage pushHttpMessage = JSON.parseObject(json, PushHttpMessage.class);
  
          assertEquals("0.01",
                  pushHttpMessage
                          .getMessage()
                          .get("pay_fee")
                          .get(0)
          );
      }
  
      public static class PushHttpMessage {
          private LinkedMultiValueMap<String, String> message;
          private String url;
  
          public LinkedMultiValueMap<String, String> getMessage() {
              return message;
          }
  
          public void setMessage(LinkedMultiValueMap<String, String> message) {
              this.message = message;
          }
  
          public String getUrl() {
              return url;
          }
  
          public void setUrl(String url) {
              this.url = url;
          }
      }
  }
  