dsl_json.android.graphics.PointDslJsonConverter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dsl-json-android Show documentation
Show all versions of dsl-json-android Show documentation
DSL Platform compatible Java JSON library (https://dsl-platform.com)
package dsl_json.android.graphics;
import com.dslplatform.json.AndroidGeomConverter;
import com.dslplatform.json.Configuration;
import com.dslplatform.json.DslJson;
public class PointDslJsonConverter implements Configuration {
@Override
public void configure(DslJson json) {
json.registerReader(android.graphics.Point.class, AndroidGeomConverter.POINT_READER);
json.registerWriter(android.graphics.Point.class, AndroidGeomConverter.POINT_WRITER);
}
}