json

json

  • Arguments:

    • {Number} [indent] - default: 2
  • Usage:

    Output the result of calling JSON.stringify() on the value instead of outputting the toString() value (e.g. [object Object]).

  • Example:

    Print an object with 4-space indent:

    <pre>{{ nestedObject | json 4 }}</pre>
doc_VueJS
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.