Class EmptyJsonMetadataGenerator

java.lang.Object
org.springframework.ai.reader.EmptyJsonMetadataGenerator
All Implemented Interfaces:
JsonMetadataGenerator

public class EmptyJsonMetadataGenerator extends Object implements JsonMetadataGenerator
  • Constructor Details

    • EmptyJsonMetadataGenerator

      public EmptyJsonMetadataGenerator()
  • Method Details

    • generate

      public Map<String,Object> generate(Map<String,Object> jsonMap)
      Description copied from interface: JsonMetadataGenerator
      The input is the JSON document represented as a map, the output are the fields extracted from the input map that will be used as metadata.
      Specified by:
      generate in interface JsonMetadataGenerator
      Parameters:
      jsonMap - json document map
      Returns:
      json metadata map