[toc]
完整文档下载地址(类、方法、参数说明)
gson-2.10.1.jar中文-英文对照文档.zip 下载地址:https://hanshuixin.org/resource/fileDetails?groupId=com.google.code.gson&artifactId=gson&version=2.10.1
gson 其他版本中文文档 下载地址:https://hanshuixin.org/resource/?groupId=com.google.code.gson&artifactId=gson
gson-2.10.1.jar中文-英文对照文档.zip 中包含以下内容
- 中文-英文对照文档:位于压缩包内的“文档”文件夹中
- 说明文件:使用说明.txt、README.md
- Maven依赖:gson-2.10.1.jar Maven依赖信息(可用于项目pom.xml).txt
- Gradle依赖:gson-2.10.1.jar Gradle依赖信息(可用于项目build.gradle).txt
- jar包下载地址:gson-2.10.1.jar下载地址(官方地址+国内镜像地址).txt
- 源码下载地址:gson-2.10.1-sources.jar下载地址(官方地址+国内镜像地址).txt
使用方法
- 解压 gson-2.10.1.jar中文-英文对照文档.zip,找到 解压后的文件夹>文档>index.html,双击index.html即可用浏览器打开查看。
- 为了防止解压后路径太长导致浏览器无法打开,推荐在解压时选择“解压到当前文件夹”(放心,自带文件夹,文件不会散落一地)。
- 有时,一套Java组件会有多个jar,所以在下载前,请仔细阅读本篇描述,以确保这就是你需要的文件。
组件信息
简介
- 名称: Gson
- 描述: com.google.code.gson - gson
- 版本: 2.10.1
Maven依赖
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.10.1</version>
</dependency>
Gradle依赖
Gradle:
implementation group: 'com.google.code.gson', name: 'gson', version: '2.10.1'
Gradle (Short):
implementation 'com.google.code.gson:gson:2.10.1'
Gradle (Kotlin):
implementation("com.google.code.gson:gson:2.10.1")
寒水馨 Java 组件中文文档系列说明
- 文档为 Java 组件的中文翻译文档
- 文档由 寒水馨 翻译整理,非官方版本
- 本系列文档获取地址:https://hanshuixin.org
- 本文档为人性化翻译,精心制作,请放心使用
- 本文档为双语同时展示,一行原文、一行译文,可逐行对照,避免了原文/译文来回切换的麻烦
- 有原文可参照,不再担心翻译偏差误导
- 边学技术、边学英语
- 只翻译了该翻译的内容,如:注释、说明、描述、用法讲解 等
- 不该翻译的内容保持原样,如:类名、方法名、包名、类型、关键字、代码 等
版权声明与来源信息
本翻译文档基于以下开源项目制作,严格遵守各项目的开源许可证,并在此列出其版权归属与许可证信息。
- 组件 GAV 坐标:com.google.code.gson:gson:2.10.1
- 原始项目地址:https://central.sonatype.com/artifact/com.google.code.gson/gson/2.10.1
- 许可证:Apache-2.0
- 许可证链接:https://www.apache.org/licenses/LICENSE-2.0.txt
- 所有原始代码及注释版权归其原作者所有
- 本翻译内容的版权归 寒水馨 所有(© 2025 寒水馨),未经许可不得用于二次分发或再销售
本组件包含的 Java package(包)
com.google.gson
com.google.gson.annotations
com.google.gson.reflect
com.google.gson.stream
本组件包含的 Java class(类)
com.google.gson.ExclusionStrategy
com.google.gson.FieldAttributes
com.google.gson.FieldNamingPolicy
com.google.gson.FieldNamingStrategy
com.google.gson.Gson
com.google.gson.GsonBuilder
com.google.gson.InstanceCreator
com.google.gson.JsonArray
com.google.gson.JsonDeserializationContext
com.google.gson.JsonDeserializer
com.google.gson.JsonElement
com.google.gson.JsonIOException
com.google.gson.JsonNull
com.google.gson.JsonObject
com.google.gson.JsonParseException
com.google.gson.JsonParser
com.google.gson.JsonPrimitive
com.google.gson.JsonSerializationContext
com.google.gson.JsonSerializer
com.google.gson.JsonStreamParser
com.google.gson.JsonSyntaxException
com.google.gson.LongSerializationPolicy
com.google.gson.ReflectionAccessFilter
com.google.gson.ReflectionAccessFilter.FilterResult
com.google.gson.ToNumberPolicy
com.google.gson.ToNumberStrategy
com.google.gson.TypeAdapter
com.google.gson.TypeAdapterFactory
com.google.gson.annotations.Expose
com.google.gson.annotations.JsonAdapter
com.google.gson.annotations.SerializedName
com.google.gson.annotations.Since
com.google.gson.annotations.Until
com.google.gson.reflect.TypeToken
com.google.gson.stream.JsonReader
com.google.gson.stream.JsonToken
com.google.gson.stream.JsonWriter
com.google.gson.stream.MalformedJsonException
完整文档下载地址(类、方法、参数说明)
- gson-2.10.1.jar中文-英文对照文档.zip 下载地址:https://hanshuixin.org/resource/fileDetails?groupId=com.google.code.gson&artifactId=gson&version=2.10.1
- gson 其他版本中文文档 下载地址:https://hanshuixin.org/resource/?groupId=com.google.code.gson&artifactId=gson