Closed
Description
Version
2.5.16
Reproduction link
Steps to reproduce
When interpoling a object, it uses the JSON.stringify
method instead of toString
, which is normally the proper method to set a way to convert an object to a string. We could try to see if the toString
method is present before calling the toJSON
one ?
What is expected?
In the fiddle:
string: test
What is actually happening?
In the fiddle:
string: { "json": "jsonVal" }
Thanks.