Android代码-auto-value-moshi

时间:2022-08-25 21:28:32
【文件属性】:

文件名称:Android代码-auto-value-moshi

文件大小:105KB

文件格式:ZIP

更新时间:2022-08-25 21:28:32

Android代码

AutoValue: Moshi Extension An extension for Google's AutoValue that creates a simple Moshi JsonAdapterFactory for each AutoValue annotated object. Usage Simply include auto-value-moshi in your project and add a public static method with the following signature to classes you want to get Moshi JsonAdapters. You can also annotate your properties using @Json to define an alternate name for de/serialization. @AutoValue public abstract class Foo { abstract String bar(); @Json(name="Baz") abstrac


【文件预览】:
auto-value-moshi-master
----.gitignore(103B)
----auto-value-moshi-runtime()
--------build.gradle(231B)
--------src()
--------gradle.properties(111B)
----settings.gradle(143B)
----build.gradle(1KB)
----.travis.yml(71B)
----auto-value-moshi-tests()
--------build.gradle(533B)
--------src()
----gradlew(5KB)
----auto-value-moshi()
--------build.gradle(2KB)
--------src()
--------gradle.properties(87B)
----CHANGELOG.md(3KB)
----checkstyle.xml(5KB)
----LICENSE.txt(11KB)
----dependencies.gradle(2KB)
----README.md(3KB)
----gradlew.bat(2KB)
----gradle.properties(595B)
----gradle()
--------wrapper()
--------gradle-mvn-push.gradle(7KB)
----RELEASING.md(730B)

网友评论