vue-json5-pretty
Json5 pretty of Vue component
what is json5
Usage
component: Json5Pretty { return prefix: 'json5-pretty' openDep: 3 value: // comments unquoted: 'and you can quote me on that' singleQuotes: 'I can use "double quotes" here' lineBreaks: "Look, Mom! \No \\n's!" hexadecimal: 0xdecaf leadingDecimalPoint: 08675309 andTrailing: 8675309 positiveSign: +1 trailingComma: 'in objects' andIn: 'arrays' backwardsCompatible: 'with JSON' }
Props
-
[ label ] => data key.
-
[ value ] => json5 data.
-
[ expandDepth ] => by default, the depth of this tree will expand. default: 1.
-
[ prefix ] => class prefix. default: 'json5-pretty'.
Costom Style
component: Json5Pretty