Common JSON objects

The ArcGIS REST API defines the formats for JSON data objects commonly used by the system. The ArcGIS API for JavaScript uses this format to communicate with the server. When you look at the network traffic in your browser's developer console, you'll see these common JSON objects in both the requests and responses. Let's look more closely at two of these JSON object definitions: geometries and symbols.

Geometries

Geometry JSON is a common data format used for ArcGIS Server processes. It makes sense, since finding geographic locations relies on geometry. Geometries come in a variety of shapes and sizes.

Spatial reference

As mentioned in previous chapters, spatial reference refers to the calculations that represent the earth on a ...

Get Mastering ArcGIS Server Development with JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.