Class DslJsonbProvider.DslJsonb

java.lang.Object
com.dslplatform.json.jsonb.DslJsonbProvider.DslJsonb
All Implemented Interfaces:
jakarta.json.bind.Jsonb, AutoCloseable
Enclosing class:
DslJsonbProvider

private static class DslJsonbProvider.DslJsonb extends Object implements jakarta.json.bind.Jsonb
  • Field Details

  • Constructor Details

  • Method Details

    • fromJson

      public <T> T fromJson(String input, Class<T> as) throws jakarta.json.bind.JsonbException
      Specified by:
      fromJson in interface jakarta.json.bind.Jsonb
      Throws:
      jakarta.json.bind.JsonbException
    • fromJson

      public <T> T fromJson(String input, Type type) throws jakarta.json.bind.JsonbException
      Specified by:
      fromJson in interface jakarta.json.bind.Jsonb
      Throws:
      jakarta.json.bind.JsonbException
    • fromJson

      public <T> T fromJson(Reader reader, Class<T> as) throws jakarta.json.bind.JsonbException
      Specified by:
      fromJson in interface jakarta.json.bind.Jsonb
      Throws:
      jakarta.json.bind.JsonbException
    • fromJson

      public <T> T fromJson(Reader reader, Type type) throws jakarta.json.bind.JsonbException
      Specified by:
      fromJson in interface jakarta.json.bind.Jsonb
      Throws:
      jakarta.json.bind.JsonbException
    • fromJson

      public <T> T fromJson(InputStream stream, Class<T> as) throws jakarta.json.bind.JsonbException
      Specified by:
      fromJson in interface jakarta.json.bind.Jsonb
      Throws:
      jakarta.json.bind.JsonbException
    • fromJson

      public <T> T fromJson(InputStream stream, Type type) throws jakarta.json.bind.JsonbException
      Specified by:
      fromJson in interface jakarta.json.bind.Jsonb
      Throws:
      jakarta.json.bind.JsonbException
    • toJson

      public String toJson(Object obj) throws jakarta.json.bind.JsonbException
      Specified by:
      toJson in interface jakarta.json.bind.Jsonb
      Throws:
      jakarta.json.bind.JsonbException
    • toJson

      public String toJson(Object obj, Type type) throws jakarta.json.bind.JsonbException
      Specified by:
      toJson in interface jakarta.json.bind.Jsonb
      Throws:
      jakarta.json.bind.JsonbException
    • toJson

      public void toJson(Object obj, Writer writer) throws jakarta.json.bind.JsonbException
      Specified by:
      toJson in interface jakarta.json.bind.Jsonb
      Throws:
      jakarta.json.bind.JsonbException
    • toJson

      public void toJson(Object obj, Type type, Writer writer) throws jakarta.json.bind.JsonbException
      Specified by:
      toJson in interface jakarta.json.bind.Jsonb
      Throws:
      jakarta.json.bind.JsonbException
    • toJson

      public void toJson(Object obj, OutputStream stream) throws jakarta.json.bind.JsonbException
      Specified by:
      toJson in interface jakarta.json.bind.Jsonb
      Throws:
      jakarta.json.bind.JsonbException
    • toJson

      public void toJson(Object obj, Type type, OutputStream stream) throws jakarta.json.bind.JsonbException
      Specified by:
      toJson in interface jakarta.json.bind.Jsonb
      Throws:
      jakarta.json.bind.JsonbException
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable