how to use "serialize javascript" library in apigee OPDK , if any

how to use serialize in javascript insterad of JSON.stringify(). Please suggest how to use it in apigee.

I am suggested to use 'serialize-JavaScript' library and use its features for serialization in javascript.

0 1 172
1 REPLY 1

Do you mean JSON.parse() not JSON.stringify()?

serialize-javascript will give you additional features such as regular expressions in your JSON objects, but I would not recommend this as API Clients will not support these.

Hope this helps!