java.lang.Object
com.google.gson.TypeAdapter<Object>
org.javacs.lsp.adapters.JsonElementTypeAdapter
Copied from lsp4j.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis factory should not be registered with a GsonBuilder because it always matches. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Constructor Details
-
JsonElementTypeAdapter
public JsonElementTypeAdapter(com.google.gson.Gson gson)
-
-
Method Details
-
read
- Specified by:
readin classcom.google.gson.TypeAdapter<Object>- Throws:
IOException
-
write
- Specified by:
writein classcom.google.gson.TypeAdapter<Object>- Throws:
IOException
-