Ousystem json api to use in java extension

Ousystem json api to use in java extension

  

HI

we have requirement to read json string send by outsystem frontend  to java extension and convert it to jsonarray object and do our logic before returning back to frontend server.

NOTE:- WE DONOT WANT TO USE ANY OTHER EXTERNAL JAR LIKE JAVA-JSON.JAR

Can anybody help :-  is there any outsystem api to convert string to json object in java extention.

Hi Niladri

If you are using OutSystems 10 you can use the JSON Deserialize nodes to do this.

Hi João Amorim

Thanks for reply, But we are using  outsystem 9.1 and the problem  i asked was for extensions that we create in out system integration studio.


Thanks

Niladri

Hi

You can try using ardoJSON, it has the features you are looking for.

João Amorim wrote:

Hi

You can try using ardoJSON, it has the features you are looking for.

yes i know about ardoJSON , But that again i can use in outsystem service studio development. How can i use

it in integration studio fro extension development.


In that case you'll have to either see how the ardoJSON code works or write the code yourself. But it's probable that you'll have to use some library like Jackson or Java-JSON unless you want to write all the parsing code yourself.