public class EsriJsonFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static EsriFeatureClass |
FeatureClassFromJson(InputStream jsonInputStream)
Construct an
EsriFeatureClass from JSON |
static EsriFeatureClass |
FeatureClassFromJson(com.fasterxml.jackson.core.JsonParser parser)
Construct an
EsriFeatureClass from JSON |
static EsriFeature |
FeatureFromJson(InputStream jsonInputStream)
Construct an
EsriFeature from JSON |
static EsriFeature |
FeatureFromJson(com.fasterxml.jackson.core.JsonParser parser)
Construct an
EsriFeature from JSON |
static String |
JsonFromFeature(EsriFeature feature)
Create JSON from an
EsriFeature |
static String |
JsonFromFeatureClass(EsriFeatureClass featureClass)
Create JSON from an
EsriFeatureClass |
public static String JsonFromFeatureClass(EsriFeatureClass featureClass) throws com.fasterxml.jackson.core.JsonGenerationException, com.fasterxml.jackson.databind.JsonMappingException, IOException
EsriFeatureClassfeatureClass - feature class to convert to JSONcom.fasterxml.jackson.core.JsonGenerationExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOExceptionpublic static EsriFeatureClass FeatureClassFromJson(InputStream jsonInputStream) throws com.fasterxml.jackson.core.JsonParseException, IOException
EsriFeatureClass from JSONjsonInputStream - JSON input streamcom.fasterxml.jackson.core.JsonParseExceptionIOExceptionpublic static EsriFeatureClass FeatureClassFromJson(com.fasterxml.jackson.core.JsonParser parser) throws com.fasterxml.jackson.core.JsonProcessingException, IOException
EsriFeatureClass from JSONparser - parser that is pointed at the root of the JSON file created by ArcGIScom.fasterxml.jackson.core.JsonParseExceptionIOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionpublic static String JsonFromFeature(EsriFeature feature) throws com.fasterxml.jackson.core.JsonGenerationException, com.fasterxml.jackson.databind.JsonMappingException, IOException
EsriFeaturefeature - feature to convert to JSONcom.fasterxml.jackson.core.JsonGenerationExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOExceptionpublic static EsriFeature FeatureFromJson(InputStream jsonInputStream) throws com.fasterxml.jackson.core.JsonParseException, IOException
EsriFeature from JSONjsonInputStream - JSON input streamcom.fasterxml.jackson.core.JsonParseExceptionIOExceptionpublic static EsriFeature FeatureFromJson(com.fasterxml.jackson.core.JsonParser parser) throws com.fasterxml.jackson.core.JsonProcessingException, IOException
EsriFeature from JSONparser - parser that is pointed at the root of the JSON file created by ArcGIScom.fasterxml.jackson.core.JsonParseExceptionIOExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.