JSON response taking long time to parse
SummaryConnect REST takes a very long time to parde a long JSON response.
Error MessagesNot Applicable
Steps to Reproduce1. Configure a Connect REST rule.
2. Test it for an end point with a long JSON response.
Root CauseA defect or configuration issue in the operating environment
A long JSON response causes this issue. The incoming JSON response is parsed on the PRPC side. If the response is long, the parsing time increases and this increases the overall time to process the incoming response.
ResolutionPerform the following local-change:
Restrict the incoming data to the size or content that actually needs to be a part of the response.
Also, remove the redundant NULL tags from the response.
Published April 6, 2017 - Updated May 1, 2017