-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Milestone
Description
BeanOutputConverterworks fine with records too:
record Profile( String nickname, int hornlength ) {}
var outputParser = new BeanOutputConverter<>( Profile.class );
System.out.println( outputParser.getFormat() );
->
Your response should be in JSON format.
Do not include any explanations, only provide a RFC8259 compliant JSON response following this format without deviation.
Do not include markdown code blocks in your response.
Here is the JSON Schema instance your output must adhere to:
```{
"$schema" : "https://json-schema.org/draft/2020-12/schema",
"type" : "object",
"properties" : {
"hornlength" : {
"type" : "integer"
},
"nickname" : {
"type" : "string"
}
}
}```
Maybe rename the class name.
This reminds me of class DataClassRowMapper extends BeanPropertyRowMapper.
Metadata
Metadata
Assignees
Labels
No labels