How to convert JSON string to Bytes format

Hi,

My subscription service is expecting byte format as input from UM.

My provider(Rest post service(JSON format)) service needs to post bytes to UM.
Kindly let me know how we can convert JSON format to byte format.

Regards,
Sangeetha

Hi Sangeetha,
if you receive json as a string directly then you can convert to byte format by using following IS services
in WmPublic package
pub.json:documentToJSONString
pub.string:stringToBytes

Regards,
Spurti