Interface ValueExporterRegistry.ValueExporter

Enclosing class:
ValueExporterRegistry
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ValueExporterRegistry.ValueExporter
Functional contract for collapsing a configurable JSON object into its static JSON representation.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.gson.JsonElement
    exportFrom(com.google.gson.JsonObject originalConfigurableObject)
    Reverts the configurable object wrapper back into a static JSON object or primitive.
  • Method Details

    • exportFrom

      com.google.gson.JsonElement exportFrom(com.google.gson.JsonObject originalConfigurableObject)
      Reverts the configurable object wrapper back into a static JSON object or primitive.
      Parameters:
      originalConfigurableObject - The JSON object defining the dynamic configuration data.
      Returns:
      The stripped JSON element representing a static value.