Question

2
Replies
48
Views
GPARKS952 Member since 2014 5 posts
Unitedhealth Group, Inc.
Posted: 2 years ago
Last activity: 2 years 8 months ago
Closed
Solved

Parsing JSON doesn't seem to work - tracing the same does! (why?)

I have an activity with a Java step to parse JSON:

try {
myStepPage.adoptJSONObject(myStepPage.getString(".property"));
} catch (InvalidStreamError ise) {
oLog.error("Invalid Stream Error parsing JSON: ", ise);
}

And it seems to work... somewhat, but doesn't always set the actual resulting properties on the page;

but if I trace the same activity, it always works and always fully populates the page -- what's the difference?

Data Integration Java and Activities
Moderation Team has archived post
Share this page LinkedIn