Class GenericOrPojoJsonb

java.lang.Object
org.talend.sdk.component.runtime.manager.service.GenericOrPojoJsonb
All Implemented Interfaces:
Serializable, AutoCloseable, Supplier<javax.json.bind.Jsonb>, javax.json.bind.Jsonb, org.talend.sdk.component.runtime.record.json.PojoJsonbProvider

public class GenericOrPojoJsonb extends Object implements javax.json.bind.Jsonb, org.talend.sdk.component.runtime.record.json.PojoJsonbProvider, Serializable
See Also:
  • Constructor Details

  • Method Details

    • get

      public javax.json.bind.Jsonb get()
      Specified by:
      get in interface Supplier<javax.json.bind.Jsonb>
    • close

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

      public <T> T fromJson(String str, Class<T> type) throws javax.json.bind.JsonbException
      Specified by:
      fromJson in interface javax.json.bind.Jsonb
      Throws:
      javax.json.bind.JsonbException
    • fromJson

      public <T> T fromJson(String str, Type runtimeType) throws javax.json.bind.JsonbException
      Specified by:
      fromJson in interface javax.json.bind.Jsonb
      Throws:
      javax.json.bind.JsonbException
    • fromJson

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

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

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

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

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

      public String toJson(Object object, Type runtimeType) throws javax.json.bind.JsonbException
      Specified by:
      toJson in interface javax.json.bind.Jsonb
      Throws:
      javax.json.bind.JsonbException
    • toJson

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

      public void toJson(Object object, Type runtimeType, Writer writer) throws javax.json.bind.JsonbException
      Specified by:
      toJson in interface javax.json.bind.Jsonb
      Throws:
      javax.json.bind.JsonbException
    • toJson

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

      public void toJson(Object object, Type runtimeType, OutputStream stream) throws javax.json.bind.JsonbException
      Specified by:
      toJson in interface javax.json.bind.Jsonb
      Throws:
      javax.json.bind.JsonbException