Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Ask Reuben 137 - JSON Serialization - Array or Record  (Read 4629 times)
Reuben B.
Four Js
Posts: 1116


« on: July 28, 2022, 03:07:55 am »

I came across a recent support case, and I thought it was interesting because the issue was due to external products.  It was a good example of finding information related to the case in external resources.
 
The way the issue presented itself was that a -8109 error was occurring with a util.JSON.parse() call. 
 
The crux of the issue ultimately was in the external product that was responsible for the formatted JSON string.  This external product was not following standards, and an array that only had one element was being sent as a record and not an array.  However without changing the external product, our product had to handle it.
 
Read more about this at https://4js.com/ask-reuben/ig-137/

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines