Class CompoundSerializerFactory

java.lang.Object
pl.put.poznan.jsontools.logic.CompoundSerializerFactory

public class CompoundSerializerFactory extends Object
Class that manages the creation of compound JSON serializers
  • Constructor Details

    • CompoundSerializerFactory

      public CompoundSerializerFactory()
  • Method Details

    • create

      public JsonSerializer create(String rawTransformsKey, JsonSerializer baseSerializer)
      Creates a serializer, based on the key specifying all the transforms requested. The key is built as follows: operation1:param1,param2;operation2:param1,param2
      Parameters:
      rawTransformsKey - The definition of serializers
      baseSerializer - Basic serializer to provide the core functionality
      Returns:
      A compound serializer