Skip to main content
1-Visitor
July 24, 2020
Question

How to convert Infotable into JSON in Java Extension

  • July 24, 2020
  • 1 reply
  • 2366 views

Hi,

 

How i can convert Infotable into JSON

Since toJSON() function Deprecated. no replacement

@Deprecated
 @ThingworxExtensionApiMethod(since={6,6},
 deprecatedSince={8,4})
public org.json.JSONObject toJSON() throws java.lang.Exception
Deprecated. no replacement
 
Any other methods available?
 
Regards,
Sathishkumar C.

 

1 reply

Community Manager
July 24, 2020

Hi @SathishkumarC.

 

This article may provide some guidance even though it relates to a service.

 

Regards.

 

--Sharon

1-Visitor
July 25, 2020

Thank you for reply.

 

I know this with Thingworx. But the same thing I am trying to use in Java extension it was telling "Deprecated". If I am continue to using the same method will I face any issue in future?