Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » query dataset to json(converting the query dataset to json)
query dataset to json [message #1779468] Mon, 08 January 2018 11:12
Steve Warsap is currently offline Steve WarsapFriend
Messages: 1
Registered: January 2018
Junior Member
Hey all

is there an easy way to have a query returned and then converting the actual dataset to json to then use in a report for example

select id, name from table person

then without changing the sql, and before the report loads converting the id, name into json format maybe via java or javascript, using the beforeFactory/afterFactory intialisation.

example return

[{
"id": 1,
"name": "test1"
},
{
"id": 2,
"name": "test2"
},
{
"id": 3,
"name": "test3"
}
]

or manipulated into any necessary format that we need

Cheers in advance
Previous Topic:RUNTIME: Cannot open the connection for the driver
Next Topic:What is the lastest build for each JDK?
Goto Forum:
  


Current Time: Sat Nov 17 11:11:21 GMT 2018

Powered by FUDForum. Page generated in 0.01710 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top