Class StringSetSerializer


  • public class StringSetSerializer
    extends java.lang.Object
    Serialization of a set of strings to/from Json bytes using Slime. The set is serialized as an array of string.
    Author:
    bratseth
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<java.lang.String> fromJson​(byte[] data)  
      byte[] toJson​(java.util.Set<java.lang.String> stringSet)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StringSetSerializer

        public StringSetSerializer()
    • Method Detail

      • toJson

        public byte[] toJson​(java.util.Set<java.lang.String> stringSet)
      • fromJson

        public java.util.Set<java.lang.String> fromJson​(byte[] data)