Class JsonWriterCache

java.lang.Object
com.tccc.kos.commons.util.json.JsonWriterCache

public class JsonWriterCache extends Object
Cache for JSON writers used to serialize data.
Since:
1.0
Version:
2022-08-09
  • Constructor Details

    • JsonWriterCache

      public JsonWriterCache()
  • Method Details

    • getWriter

      public ObjectWriter getWriter(Class<?> view)
      Returns a writer for the specified view class.
      Parameters:
      view - the view class