- All Known Implementing Classes:
ArcadeExpression
,ArcGISMap
,ArcGISMapServiceInfo
,ArcGISMapServiceSublayerInfo
,AttachmentsPopupElement
,Basemap
,ClassBreaksRenderer
,ClassBreaksRenderer.ClassBreak
,CodedValueDomain
,CompositeSymbol
,DictionaryRenderer
,DistanceCompositeSceneSymbol
,Domain
,DownloadPreplannedOfflineMapJob
,Envelope
,EstimateTileCacheSizeJob
,ExportTileCacheJob
,ExportVectorTilesJob
,ExpressionPopupElement
,FacilityLayerDefinition
,FeatureCollection
,FieldsPopupElement
,FillSymbol
,GenerateGeodatabaseJob
,GenerateOfflineMapJob
,Geometry
,GeoModelFloorDefinition
,GeoprocessingJob
,HeatmapRenderer
,HelperServices
,InheritedDomain
,Job
,LabelAngle
,LabelDefinition
,LabelStackSeparator
,LayerFloorDefinition
,LevelLayerDefinition
,LicenseInfo
,LineSymbol
,MarkerSceneSymbol
,MarkerSymbol
,MediaPopupElement
,ModelSceneSymbol
,MultilayerPointSymbol
,MultilayerPolygonSymbol
,MultilayerPolylineSymbol
,MultilayerSymbol
,Multipart
,Multipoint
,OfflineMapSyncJob
,PictureFillSymbol
,PictureMarkerSymbol
,Point
,Polygon
,Polyline
,PopupElement
,PortalGroup
,PortalInfo
,PortalItem
,PortalUser
,RangeDomain
,RelationshipPopupElement
,Renderer
,SceneSymbol
,SimpleFillSymbol
,SimpleLineSymbol
,SimpleMarkerSceneSymbol
,SimpleMarkerSymbol
,SimpleRenderer
,SiteLayerDefinition
,SpatialReference
,Symbol
,SyncGeodatabaseJob
,TextPopupElement
,TextSymbol
,UniqueValueRenderer
,UniqueValueRenderer.UniqueValue
,UnsupportedPopupElement
,UnsupportedRenderer
,UtilityNetworkValidationJob
,Viewpoint
public interface JsonSerializable
Implemented by classes that can be serialized to and from JSON. These classes also implement a static factory method
as follows:
ImplementingClass ImplementingClass.fromJson(String json);
- Since:
- 100.0.0
-
Method Summary
Modifier and TypeMethodDescriptionGets unknown data from the source JSON.Gets unsupported data from the source JSON.toJson()
Serializes this object to a JSON string.
-
Method Details
-
toJson
String toJson()Serializes this object to a JSON string. Note that unknown JSON is omitted from the serialized string.- Returns:
- a JSON string
- Since:
- 100.0.0
-
getUnknownJson
Gets unknown data from the source JSON.Unknown JSON is a Map of values not defined in the ArcGIS specification used to create this object but found in the source JSON. If the object is written back to JSON, any unknown JSON data is not persisted. The ArcGIS specification may be for a web map, web scene, REST API, and so on.
- Returns:
- an unmodifiable Map containing unknown data from the source JSON
- Since:
- 100.0.0
-
getUnsupportedJson
Gets unsupported data from the source JSON.Unsupported JSON is a Map of values defined in the ArcGIS specification used to create this object but not currently used in this API. If the object is written back to JSON, any unsupported JSON data is persisted. The ArcGIS specification may be from a web map, web scene, REST API, and so on.
- Returns:
- an unmodifiable Map containing unsupported data from the source JSON
- Since:
- 100.0.0
-