A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuejs/vue/issues/8093 below:

Use toString() on object interpolation when defined · Issue #8093 · vuejs/vue · GitHub

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4