Gson: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=External= * https://github.com/google/gson =Internal= * JSON") |
|||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
* https://github.com/google/gson | * https://github.com/google/gson | ||
* https://github.com/google/gson/blob/master/UserGuide.md | |||
=Internal= | =Internal= | ||
* [[JSON#Frameworks|JSON]] | * [[JSON#Frameworks|JSON]] | ||
=Overview= | |||
<syntaxhighlight lang='java'> | |||
import com.google.gson.Gson; | |||
... | |||
Gson gson = new Gson(); | |||
Object deserialized = son.fromJson("....", Object.class); | |||
</syntaxhighlight> |
Latest revision as of 19:21, 11 June 2018
External
Internal
Overview
import com.google.gson.Gson;
...
Gson gson = new Gson();
Object deserialized = son.fromJson("....", Object.class);