Activity Forums Salesforce® Discussions What are the drawbacks of JSON in Salesforce? Reply To: What are the drawbacks of JSON in Salesforce?

  • Parul

    Member
    September 21, 2018 at 10:23 am

    hi

    If JSON not inserted, nothing happens. It just fails silently. For example, you are not able to catch a 404 error from the server, Nor can you cancel or restart the request. You can, however, timeout after waiting a reasonable amount of time.

    Disadvantages of JSON is it has no error handling for JSON calls. If the dynamic script insertion works, you get called and will get the response perfectly. If not inserted, nothing happens. It just fails silently.

     

    Thanks