com.aiyc.server.standalone.json
类 MeasurementTypeAdapter
java.lang.Object
com.aiyc.server.standalone.json.MeasurementTypeAdapter
- 所有已实现的接口:
- com.google.gson.JsonDeserializer<Measurement>
public class MeasurementTypeAdapter
- extends Object
- implements com.google.gson.JsonDeserializer<Measurement>
Custom adapter for Measurements in order to deserialize the
Vectors
- 另请参见:
JsonDeserializer
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MeasurementTypeAdapter
public MeasurementTypeAdapter()
deserialize
public Measurement deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context)
throws com.google.gson.JsonParseException
- 指定者:
- 接口
com.google.gson.JsonDeserializer<Measurement> 中的 deserialize
- 抛出:
com.google.gson.JsonParseException- 另请参见:
JsonDeserializer.deserialize(JsonElement, Type,
JsonDeserializationContext)
Copyright © 2017. All Rights Reserved.