Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Anyone know how I can override the JSON Parser settings so that tExtractJSONFields will read this REST API?
It was working a couple patches ago, but suddenly it's started having errors:
[ERROR]: volunteer_management_system_integration.vms_events_0_1.VMS_Events - tExtractJSONFields_2 - net.minidev.json.parser.ParseException: Malicious payload, having non natural depths, parsing stoped on { at position 89055.
The raw JSON from the API looks like the attached.
Hello @James Angus ,
It's a known issue which is caused by the json-smart.jar with version=2.4.7
The workaround is to customize the maven URI in order to use the version 2.4.10 or 2.4.11 of the jar file json-smart
Download the version 2.4.11 of the jar file
https://mvnrepository.com/artifact/net.minidev/json-smart/2.4.11
Customize the maven URI to use the version 2.4.11 instead of 2.4.9 as described in the article :
Best regards
Aiming
Hello @James Angus ,
It's a known issue which is caused by the json-smart.jar with version=2.4.7
The workaround is to customize the maven URI in order to use the version 2.4.10 or 2.4.11 of the jar file json-smart
Download the version 2.4.11 of the jar file
https://mvnrepository.com/artifact/net.minidev/json-smart/2.4.11
Customize the maven URI to use the version 2.4.11 instead of 2.4.9 as described in the article :
Best regards
Aiming
Thank you @Aiming Chen, that worked!