Class JsonParseNodeFactory

java.lang.Object
com.microsoft.kiota.serialization.JsonParseNodeFactory
All Implemented Interfaces:
com.microsoft.kiota.serialization.ParseNodeFactory

public class JsonParseNodeFactory extends Object implements com.microsoft.kiota.serialization.ParseNodeFactory
Creates new Json parse nodes from the payload.
  • Constructor Details

    • JsonParseNodeFactory

      public JsonParseNodeFactory()
      Creates a new factory
  • Method Details

    • getValidContentType

      @Nonnull public String getValidContentType()
      Specified by:
      getValidContentType in interface com.microsoft.kiota.serialization.ParseNodeFactory
    • getParseNode

      @Nonnull public com.microsoft.kiota.serialization.ParseNode getParseNode(@Nonnull String contentType, @Nonnull InputStream rawResponse)
      Specified by:
      getParseNode in interface com.microsoft.kiota.serialization.ParseNodeFactory