java.lang.Object
org.mule.runtime.ast.internal.serialization.json.JsonArtifactAstDeserializer
All Implemented Interfaces:
ArtifactAstDeserializer, InternalArtifactAstDeserializer

public class JsonArtifactAstDeserializer extends Object implements InternalArtifactAstDeserializer
Json implementation of an InternalArtifactAstDeserializer. This deserializer assumes the InputStream has no header as it should have been consumed by the DefaultArtifactAstDeserializer in order to decide to dispatch it here.
  • Constructor Details

    • JsonArtifactAstDeserializer

      public JsonArtifactAstDeserializer(com.google.gson.GsonBuilder gsonBuilder, String version, boolean populateGenerationInformation)
      This constructor allows a GsonBuilder parameter.
      Parameters:
      gsonBuilder - a GsonBuilder to use as a starting point.
      version - the version this deserializer must adhere to.
      populateGenerationInformation - Whether to populate the ComponentGenerationInformation.
  • Method Details