Flexjsonã§Genericsãªã¯ã©ã¹ã¸ã®ãã·ãªã¢ã©ã¤ãºããã¾ããããããã£ã¦ã¾ããã ã§ã調æ»ã®çµæããããã°ãã¾ãããã¨ããã®ãã以ä¸ã®ã³ã¼ãã ãã·ãªã¢ã©ã¤ãºã¯fromJson(String)ã§è¡ã£ã¦ãã¾ãããããã§ã®ãã¤ã³ãã¯ãï¼ã¤ã ï¼. use(null, Person.class)Deserializerã«ãã·ãªã¢ã©ã¤ãºå¯¾è±¡ã®JSONã表ãã«ã¼ããªãã¸ã§ã¯ããä½ã§ããããæãã¦ãããå¿ è¦ãããã¾ãã ãããè¡ããªãã¨ã¯ã©ã¹ãã£ã¹ããåºæ¥ãªãã¨æããã¾ããï¼ããã§å¤§åããã£ãã»ã»ã»ï¼java.lang.ClassCastException: java.util.HashMap cannot be cast to jp.co.pooh.FlexJsonTest.Person at jp.co.pooh.FlexJsonTest.Person.fromJson(Person.j
{{#tags}}- {{label}}
{{/tags}}