User bio
Ensemble and Applications support team
Member since Dec 17, 2015
Posts:
Replies:
Hi @Daniel Kutac -
For modern versions, you'll need to change this line in Web.OAUTH2.Google2N:
w jsonObject.$toJSON()
to
w jsonObject.%ToJSON()
because we're now returning a %DynamicAbstractObject
One more thing to check is if the router's class name in the production config is correct.
Certifications & Credly badges:
Michael has no Certifications & Credly badges yet.
Global Masters badges:
![Open Sesame!](https://community.intersystems.com/sites/default/files/badges/303371180-6de11138-f4e7-4113-b5cc-836269f07693.png)
![1,000 Points](https://community.intersystems.com/sites/default/files/badges/290121674-53216c4b-fe0c-44e7-9d75-2f24390135ed.png)
![Challenge Starter](https://community.intersystems.com/sites/default/files/badges/295959213-b83dd91a-663f-4f07-8e0e-e3287b7c2309.png)
![DC Author](https://community.intersystems.com/sites/default/files/badges/dc_author_0.png)
![DC Commenter](https://community.intersystems.com/sites/default/files/badges/dc_commenter_1.png)
Followers:
Following:
Michael has not followed anybody yet.
Hello Sneha -
I would implement that as a custom-code transformation (DTL). That way it could be used in a router. Would you consider posting it here? I can show you how to convert it. How are you storing the XML and the JSON?