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

构造方法摘要
MeasurementTypeAdapter()
           
 
方法摘要
 Measurement deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context)
           
 
从类 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.