Class JacksonMapper

java.lang.Object
io.xpipe.core.util.JacksonMapper

public class JacksonMapper extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    configure(Consumer<com.fasterxml.jackson.databind.ObjectMapper> mapper)
     
    static com.fasterxml.jackson.databind.ObjectMapper
     
    static com.fasterxml.jackson.databind.ObjectMapper
     
    static com.fasterxml.jackson.databind.ObjectMapper
    Constructs a new ObjectMapper that is able to map all required XPipe classes and also possible extensions.
    static <T> T
    parse(String s, Class<T> c)
     

    Methods inherited from class java.lang.Object

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

    • JacksonMapper

      public JacksonMapper()
  • Method Details

    • parse

      public static <T> T parse(String s, Class<T> c) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • configure

      public static void configure(Consumer<com.fasterxml.jackson.databind.ObjectMapper> mapper)
    • newMapper

      public static com.fasterxml.jackson.databind.ObjectMapper newMapper()
      Constructs a new ObjectMapper that is able to map all required XPipe classes and also possible extensions.
    • getDefault

      public static com.fasterxml.jackson.databind.ObjectMapper getDefault()
    • getCensored

      public static com.fasterxml.jackson.databind.ObjectMapper getCensored()