My Oracle Support Banner

E-ES: JsonBuilder Is Not Escaping Invalid Entities in Strings When Adding Them to an Object (Doc ID 3012033.1)

Last updated on MARCH 22, 2024

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.58 to 8.61 [Release 8.4]
Information in this document applies to any platform.

Symptoms

When attempting to add an object property to a JsonObject via JsonBuilder it doesn't escape entities that are invalid to JSON
the following errors occur:



The issue can be reproduced at will by:

1. Use a custom REST Service Operation to extract data from fields in a table in PeopleSoft.

2. Use the delivered JSONBuilder object class to escape special characters in the extracted data in preparation for use in a third-party product integrations.

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.