java.lang.Object
org.springframework.cloud.servicebroker.autoconfigure.web.util.MetadataUtils

public final class MetadataUtils extends Object
Internal class for marshaling abstract catalog metadata. Certain catalog metadata that is defined in YAML properties needs to be adjusted to produce the expected JSON output.
Author:
Roy Clarkson
  • Method Details

    • convertMap

      public static Map<String,Object> convertMap(Map<String,Object> parameters)
      Traverses the tree and converts numbered maps into arrays for proper JSON. serialization
      Parameters:
      parameters - a Map to convert
      Returns:
      the modified parameters