Package org.springframework.ai.reader
Class EmptyJsonMetadataGenerator
java.lang.Object
org.springframework.ai.reader.EmptyJsonMetadataGenerator
- All Implemented Interfaces:
JsonMetadataGenerator
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EmptyJsonMetadataGenerator
public EmptyJsonMetadataGenerator()
-
-
Method Details
-
generate
Description copied from interface:JsonMetadataGeneratorThe 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:
generatein interfaceJsonMetadataGenerator- Parameters:
jsonMap- json document map- Returns:
- json metadata map
-