How to serialize or deserialize an xml string in K2 five?

  • 1 December 2022
  • 0 replies
  • 49 views

Badge

I have created a REST api service broker in K2 five. One of the api returns an xml string. Is there any way to deserialize it in K2 five and get the tags and the values which I am interested in?

I tried looking for ways in K2 five but could not understand if we need to create a customized smartobject and somehow use it for deserialization. But even then how will it be dynamically generated?

Also, if I have a view containing - let say, name and number. Given an xml schema, can it be serialized into xml string and use in the body of PUT api.


0 replies

Be the first to reply!

Reply