Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
默认情况下,字符串列表List<String>将被序列化为“a,b,c”,我想将列表序列化为“a;b;c”,并以分号作为分隔符。这只需要在一个类中的一个属性上。我怎样才能做到这一点?
List<String>