NotNullGson
为解决解析后台数据过程中的各种异常,添加一些兜底方法。
比如常见的 key:value ,如果 value 为 null 的时候,初始化为 value 类型的默认值。防止调用的时候为空的情况
implementation "io.github.xanderwang:notnullgson:0.1.0"
| Лицензия |
Лицензия |
|---|---|
| Категории |
КатегорииGson Данные JSON |
| Группа | Группаio.github.xanderwang |
| Идентификатор | Идентификаторnotnullgson |
| Последняя версия | Последняя версия0.2.1 |
| Дата | Дата |
| Тип | Типjar |
| Описание |
Описаниеnot-null-gson
not null gson
|
| Ссылка на сайт |
Ссылка на сайт |
| Система контроля версий |
Система контроля версий |
| Имя Файла | Размер |
|---|---|
| notnullgson-0.2.1.pom | |
| notnullgson-0.2.1.jar | 11 KB |
| notnullgson-0.2.1-sources.jar | 4 KB |
| notnullgson-0.2.1-javadoc.jar | 34 KB |
| Обзор |
<!-- https://jarcasting.com/artifacts/io.github.xanderwang/notnullgson/ -->
<dependency>
<groupId>io.github.xanderwang</groupId>
<artifactId>notnullgson</artifactId>
<version>0.2.1</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.xanderwang/notnullgson/
implementation 'io.github.xanderwang:notnullgson:0.2.1'
// https://jarcasting.com/artifacts/io.github.xanderwang/notnullgson/
implementation ("io.github.xanderwang:notnullgson:0.2.1")
'io.github.xanderwang:notnullgson:jar:0.2.1'
<dependency org="io.github.xanderwang" name="notnullgson" rev="0.2.1">
<artifact name="notnullgson" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.xanderwang', module='notnullgson', version='0.2.1')
)
libraryDependencies += "io.github.xanderwang" % "notnullgson" % "0.2.1"
[io.github.xanderwang/notnullgson "0.2.1"]
| Идентификатор библиотеки | Тип | Версия |
|---|---|---|
| com.google.code.gson : gson | jar | 2.8.6 |
为解决解析后台数据过程中的各种异常,添加一些兜底方法。
比如常见的 key:value ,如果 value 为 null 的时候,初始化为 value 类型的默认值。防止调用的时候为空的情况
implementation "io.github.xanderwang:notnullgson:0.1.0"