Open topic with navigation

TIBCO ActiveMatrix BusinessWorks™ Plug-in Development Kit 6.3.1

# Running the JavaToJSON Process

Run the JavaToJSON process to convert Java object to JSON.

Before you begin Ensure that you have imported the process, as described in Importing the JavaToJSON Process.

Procedure
1. In the Project Explorer view, expand GSON-Sample > Processes > test > JavaToJSON.bwp.
2. In the process editor, double-click the JavaToJson activity, enter the following parameters:
   1. Click the General tab, click to create or choose a shared resource.
   2. Click the Input tab, enter a value in the required address field.
      You can also enter other optional values in other fields.
3. On the toolbar, click to save your configurations.
4. From the menu, click Run > Debug Configurations.
5. In the "Create, manage, and run configurations" dialog box, click BusinessWorks Application > BWApplication in the left panel, and then select GSON-Sample.application in the Applications tab in the right panel.
6. Click Debug to start the test process.

ResultIn the Debug perspective, click the BusinessWorks Jobs tab, and then click test.JavaToJSON > JavaToJSON. Click the Output tab in the Job Data view. The output is displayed in the Output tab.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO ActiveMatrix BusinessWorks™ Plug-in Development Kit

Copyright © 2014-2022. TIBCO Software Inc. All Rights Reserved.