Package org.springframework.ai.parser
Class BeanOutputParser<T>
java.lang.Object
org.springframework.ai.parser.BeanOutputParser<T>
- All Implemented Interfaces:
OutputParser<T>
,Parser<T>
,FormatProvider
-
Constructor Summary
ConstructorsConstructorDescriptionBeanOutputParser
(Class<T> clazz) BeanOutputParser
(Class<T> clazz, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
-
Constructor Details
-
BeanOutputParser
-
BeanOutputParser
-
-
Method Details
-
parse
-
getObjectMapper
protected com.fasterxml.jackson.databind.ObjectMapper getObjectMapper() -
getFormat
- Specified by:
getFormat
in interfaceFormatProvider
-