java icon indicating copy to clipboard operation
java copied to clipboard

Basic support of Java 16 records

Open mxyns opened this issue 3 years ago • 2 comments

This pull request tries to address the issue #302

This solution uses the Record's canonical constructor by default to create instances of the Records. Other constructors can be used with @JsonCreator and @JsonProperty (see added tests in src/test/java/com/jsoniter/TestRecord.java).

mxyns avatar Mar 06 '22 14:03 mxyns

I've included this in my pull request https://github.com/json-iterator/java/pull/325 thanks a lot!

Brixomatic avatar Aug 16 '22 20:08 Brixomatic

Any chance this can be accepted @svobol13 and released? I've noticed the fempoframework is maintaining a fork with a bit of additional work, perhaps @shaoxt can pick up some maintainer responsibilities?

schrepfler avatar Dec 23 '22 02:12 schrepfler