laptop and a wrench

Error

The JSON To Features tool fails and returns the error message, "Expected to find comma, colon or start of array; state : Empty; buffer : ��{" when run against a specific JSON file.

Última publicación: September 22, 2021 ArcGIS Pro
Número de ID del error BUG-000140402
EnviadoJune 2, 2021
Última modificaciónJune 5, 2024
Relacionado conArcGIS Pro
Versión encontrada2.8
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoWill Not Be Addressed

Información adicional

These characters are not supported when the GeoJSON text is saved with the current encoding. Change the file encoding using a text editor like Notepad, select the Unicode encoding, and the operation can run successfully.

Solución alternativa

  1. Load the data into a FeatureSet, and export the data as an SDF file. Refer to https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html?highlight=from%20geojson#arcgis.features.FeatureSet.from_geojson for more information.
  2. Export the SDF file to a feature class using the to_featureclass property. Refer to https://developers.arcgis.com/python/guide/introduction-to-the-spatially-enabled-dataframe/ for more information.

Pasos para reproducir

ID del error: BUG-000140402

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga