Package org.json.simple

Examples of org.json.simple.JSONStreamAware


        final ReferencedEnvelope bounds = features.getBounds();
        final CoordinateReferenceSystem crs = bounds != null ? bounds.getCoordinateReferenceSystem() : null;

        if (bounds != null) {
            if (encodeFeatureCollectionBounds) {
                obj.put("bbox", new JSONStreamAware() {
                    public void writeJSONString(Writer out) throws IOException {
                        JSONArray.writeJSONString(Arrays.asList(bounds.getMinX(),
                                bounds.getMinY(), bounds.getMaxX(), bounds.getMaxY()), out);
                    }
                });
View Full Code Here

TOP

Related Classes of org.json.simple.JSONStreamAware

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.