Eric Cochran
13a40edf5b
Correct error for duplicate JSON key for Kotlin. ( #789 )
...
Before, the KotlinJsonAdapter threw "java.lang.IndexOutOfBoundsException: Index: 0, Size: 0" on a duplicate key when the key matched a property that was not a constructor parameter.
2019-02-15 11:18:50 -08:00
Jesse Wilson
6b6c1af907
[maven-release-plugin] prepare for next development iteration
2018-11-09 10:04:52 +11:00
Jesse Wilson
eb7110bf59
[maven-release-plugin] prepare release moshi-parent-1.8.0
2018-11-09 10:04:36 +11:00
Eric Cochran
5c41565f39
Fall back to reflection when generated adapter is not found. ( #728 )
...
* Fall back to reflection when generated adapter is not found.
This is handy for development builds where kapt is disabled and models still have @JsonClass(generatedAdapter = true).
* Add test for Kotlin reflection fallback behavior.
2018-11-06 18:28:36 +11:00
Jesse Wilson
2cb81857ac
[maven-release-plugin] prepare for next development iteration
2018-09-24 22:55:49 -04:00
Jesse Wilson
9a652f8788
[maven-release-plugin] prepare release moshi-parent-1.7.0
2018-09-24 22:55:35 -04:00
Eric Cochran
05cfb77430
Use the adapter lookup hint API in the Kotlin reflection adapter.
2018-09-18 18:00:22 -07:00
Jesse Wilson
2a593da06c
Merge pull request #628 from gabrielittner/master
...
Embed ProGuard rules in the jar
2018-09-08 14:58:44 -04:00
Gabriel Ittner
597da2d861
keep BuiltInsLoaderImpl for kotlin reflect artifact
2018-08-24 10:47:22 +02:00
Gabriel Ittner
4bbc5b2ff8
Embed ProGuard rules in the jar
2018-08-19 11:14:47 +02:00
Jesse Wilson
9ea1f845a8
Generate Kotlin documentation with Dokka
2018-08-14 20:20:15 -04:00
Jesse Wilson
03f17310bc
Fix the link to the parent pom.xml in kotlin/reflect
2018-05-16 14:43:38 -04:00
Jesse Wilson
31ef245eeb
[maven-release-plugin] prepare for next development iteration
2018-05-14 23:00:15 -04:00
Jesse Wilson
bf4d1f8693
[maven-release-plugin] prepare release moshi-parent-1.6.0
2018-05-14 23:00:02 -04:00
Jesse Wilson
dd84b9f8f8
Change the Kotlin reflection adapter to yield to the codegen adapter
2018-05-14 21:07:46 -04:00
Jesse Wilson
60cb608956
Move Kotlin reflection into a kotlin/reflect directory
...
The maven coordinates stay the same.
2018-05-14 17:28:28 -04:00