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
Bug ID Number BUG-000082305
SubmittedSeptember 30, 2014
Last ModifiedJune 5, 2024
Applies toArcObjects SDK
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

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options