polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhuangmz08" <zhuangm...@qq.com>
Subject Property<enum> in ValueComposite ok, EntityComposite fail?
Date Fri, 15 Apr 2016 02:46:20 GMT
hi, 
public enum MyEnum{
 A, B, C, D
}


I use this enum in a ValueComposite and a EntityComposite, and try to ser/deserialize it by
using JacksonValueSerializationService. 
However, value composite is ok, but entity composite throw exception caused by [com.fasterxml.jackson.core.JsonParseException:
Unrecognized token 'A': was expecting ('true', 'false' or 'null')].
I'm wondering whether this is a bug or not.
Thanks a lot.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message