public class CHAPSecretAdaptor extends Object implements JsonSerializer<CHAPSecret>, JsonDeserializer<CHAPSecret>
| Constructor and Description |
|---|
CHAPSecretAdaptor() |
| Modifier and Type | Method and Description |
|---|---|
CHAPSecret |
deserialize(JsonElement json,
Type typeOfT,
JsonDeserializationContext context) |
JsonElement |
serialize(CHAPSecret chapSecret,
Type type,
JsonSerializationContext context) |
static Class |
serializingClass()
Gets the Class that this adapter serializes.
|
public static Class serializingClass()
public JsonElement serialize(CHAPSecret chapSecret, Type type, JsonSerializationContext context)
serialize in interface JsonSerializer<CHAPSecret>public CHAPSecret deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException
deserialize in interface JsonDeserializer<CHAPSecret>JsonParseExceptionCopyright © 2014-2016 NetApp, Inc. All Rights Reserved.