java
java copied to clipboard
Basic support of Java 16 records
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).
I've included this in my pull request https://github.com/json-iterator/java/pull/325 thanks a lot!
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?