Pradeep Tallogu 2 Posted August 7, 2019 Share Posted August 7, 2019 When I serialize a concept to JSON string, I can see the attributes of Id and ExtId as well in the payload. Is there a property or setting that I can use to eliminate these from my serialized string Here is the usage of the function. String payload = Instance.serializeToJSON(, true, ); Thanks, Pradeep Link to comment Share on other sites More sharing options...
Vijaykumar Pinniboina Posted August 16, 2019 Share Posted August 16, 2019 By default, the wrapper and the internal attribute elements will be included. However, to exclude them, set the following property "be.http.json.rootElement.ignore" to true at Processing Unit level in CDD. Link to comment Share on other sites More sharing options...
Pradeep Tallogu 2 Posted August 17, 2019 Author Share Posted August 17, 2019 Yes, I tried that, but if you have a contained concept, it would not remove the attributes of that. Also, the root element is removed, not just the attributes. I raised a support ticket for this, but TIBCO suggested to use a custom java code to remove those attributes. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now