[Vuejs]-JSON property value without quote

1πŸ‘

βœ…

In JSON, double quotes " around values indicate strings. Non-strings are not delimited with "s. Numbers have no delimiters, and the total property getter, when invoked (by JSON.stringify) returns a number, so the resulting JSON does not surround the total value with quotes.

Leave a comment