Skip to content

Reevaluate class name BeanOutputConverter #709

@ullenboom

Description

@ullenboom

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions