com.alibaba.fastjson2.support.geo.FeatureCollection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fastjson2-extension Show documentation
Show all versions of fastjson2-extension Show documentation
Fastjson is a JSON processor (JSON parser + JSON generator) written in Java
package com.alibaba.fastjson2.support.geo;
import com.alibaba.fastjson2.annotation.JSONType;
import java.util.ArrayList;
import java.util.List;
/**
* @since 1.2.68
*/
@JSONType(typeName = "FeatureCollection", orders = {"type", "bbox", "coordinates"})
public class FeatureCollection
extends Geometry {
private List features = new ArrayList();
public FeatureCollection() {
super("FeatureCollection");
}
public List getFeatures() {
return features;
}
}