File tree Expand file tree Collapse file tree 10 files changed +18
-9
lines changed
main/java/com/basistech/rosette/apimodel/jackson
test/java/com/basistech/rosette/apimodel Expand file tree Collapse file tree 10 files changed +18
-9
lines changed Original file line number Diff line number Diff line change 1919 <parent >
2020 <groupId >com.basistech.rosette</groupId >
2121 <artifactId >rosette-api-java-binding</artifactId >
22- <version >1.9.1 -SNAPSHOT</version >
22+ <version >1.9.101 -SNAPSHOT</version >
2323 </parent >
2424 <artifactId >rosette-api-annotations</artifactId >
2525 <name >rosette-api-annotations</name >
Original file line number Diff line number Diff line change 1919 <parent >
2020 <groupId >com.basistech.rosette</groupId >
2121 <artifactId >rosette-api-java-binding</artifactId >
22- <version >1.9.1 -SNAPSHOT</version >
22+ <version >1.9.101 -SNAPSHOT</version >
2323 </parent >
2424 <artifactId >rosette-api</artifactId >
2525 <name >rosette-api</name >
Original file line number Diff line number Diff line change 1919 <parent >
2020 <groupId >com.basistech.rosette</groupId >
2121 <artifactId >rosette-api-java-binding</artifactId >
22- <version >1.9.1 -SNAPSHOT</version >
22+ <version >1.9.101 -SNAPSHOT</version >
2323 </parent >
2424 <artifactId >rosette-api-common</artifactId >
2525 <name >rosette-api-common</name >
Original file line number Diff line number Diff line change 2020 <parent >
2121 <groupId >com.basistech.rosette</groupId >
2222 <artifactId >rosette-api-java-binding</artifactId >
23- <version >1.9.1 -SNAPSHOT</version >
23+ <version >1.9.101 -SNAPSHOT</version >
2424 </parent >
2525 <groupId >com.basistech.rosette</groupId >
2626 <artifactId >rosette-api-examples</artifactId >
Original file line number Diff line number Diff line change 2020 <parent >
2121 <groupId >com.basistech.rosette</groupId >
2222 <artifactId >rosette-api-java-binding</artifactId >
23- <version >1.9.1 -SNAPSHOT</version >
23+ <version >1.9.101 -SNAPSHOT</version >
2424 </parent >
2525 <artifactId >rosette-api-json</artifactId >
2626 <name >rosette-api-json</name >
Original file line number Diff line number Diff line change @@ -41,6 +41,11 @@ protected NameMixin (
4141 //
4242 }
4343
44+ @ JsonCreator
45+ protected NameMixin (String name ) {
46+ //
47+ }
48+
4449 @ JsonPOJOBuilder (withPrefix = "" )
4550 abstract class NameBuilderMixin {
4651 }
Original file line number Diff line number Diff line change @@ -49,5 +49,9 @@ public void testRequestTypes() throws Exception {
4949 json = "{\" names\" : [{\" text\" : \" Joe\" }, {\" text\" : \" Smith\" }], \" threshold\" : 0.8}" ;
5050 request = mapper .readValue (json , NameDeduplicationRequest .class );
5151 assertTrue (request instanceof NameDeduplicationRequest );
52+
53+ json = "{\" names\" : [\" Joe\" , \" Smith\" ], \" threshold\" : 0.8}" ;
54+ request = mapper .readValue (json , NameDeduplicationRequest .class );
55+ assertTrue (request instanceof NameDeduplicationRequest );
5256 }
5357}
Original file line number Diff line number Diff line change 1919 <parent >
2020 <groupId >com.basistech.rosette</groupId >
2121 <artifactId >rosette-api-java-binding</artifactId >
22- <version >1.9.1 -SNAPSHOT</version >
22+ <version >1.9.101 -SNAPSHOT</version >
2323 </parent >
2424 <artifactId >rosette-api-model</artifactId >
2525 <name >rosette-api-model</name >
Original file line number Diff line number Diff line change 1818 <modelVersion >4.0.0</modelVersion >
1919 <groupId >com.basistech.rosette</groupId >
2020 <artifactId >rosette-api-java-binding</artifactId >
21- <version >1.9.1 -SNAPSHOT</version >
21+ <version >1.9.101 -SNAPSHOT</version >
2222 <parent >
2323 <artifactId >open-source-parent</artifactId >
2424 <groupId >com.basistech</groupId >
25- <version >1.1.5 </version >
25+ <version >1.2.0 </version >
2626 <relativePath />
2727 </parent >
2828 <packaging >pom</packaging >
Original file line number Diff line number Diff line change 1919 <parent >
2020 <groupId >com.basistech.rosette</groupId >
2121 <artifactId >rosette-api-java-binding</artifactId >
22- <version >1.9.1 -SNAPSHOT</version >
22+ <version >1.9.101 -SNAPSHOT</version >
2323 </parent >
2424 <groupId >com.basistech.rosette</groupId >
2525 <artifactId >rosette-api-release</artifactId >
You can’t perform that action at this time.
0 commit comments