laptop and a wrench

Bug

There is a COMException failure when using IJSONWriter to write a JSON object (IJSONWriter.StartObject, IJSONObject.ToJSON) and a JSON array (IJSONWriter.StartArray, IJSONArray.ToJSON).

Last Published: December 11, 2014 ArcObjects SDK for the Microsoft .NET Framework
Bug ID Number BUG-000082305
SubmittedSeptember 30, 2014
Last ModifiedMarch 30, 2022
Applies toArcObjects SDK for the Microsoft .NET Framework
Version found10.2.2
Operating SystemWindows OS
Operating System Version8
StatusWill Not Be Addressed

Additional Information

We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.

Workaround

1. For the IJSONWriter interface, use IJSONWriter2.WriteRawStringVal to write the JSON object directly.2. To output the IJSONObject to IJSONWriter, the JSON object can be converted to a raw string by IJSONObject.ToJSONString, and the string can be written in JSONWriter by IJSONWriter.WriteRawStringVal.

Steps to Reproduce

Bug ID: BUG-000082305

Software:

  • ArcObjects SDK for the Microsoft .NET Framework

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic