Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
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
Hi @SathishkumarC.
This article may provide some guidance even though it relates to a service.
Regards.
--Sharon
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?
Hi @SathishkumarC.
In some future release, deprecated extensions will be removed, but we do not have specifics on when that will occur. That information will be detailed in the release notes for the relevant release to allow for modifications prior to upgrading.
Regards.
--Sharon
Hi @SathishkumarC.
If you feel your question has been answered, please mark the appropriate response as the Accepted Solution for the benefit of others with the same question.
Thank you for your participation in our community!
Regards.
--Sharon