<v-jsoneditor ref='vje' id="ved" v-model="row.value" :options="options" :plus="false" @error="onError"/>
public validator() { return (this.$refs.vje as VJsoneditor).validate(); }
[Vue warn]: Error in v-on handler (Promise/async): "TypeError: this.$refs.vje.validate is not a function"
How do I check if JSON is valid?
<v-jsoneditor ref='vje' id="ved" v-model="row.value" :options="options" :plus="false" @error="onError"/>public validator() { return (this.$refs.vje as VJsoneditor).validate(); }[Vue warn]: Error in v-on handler (Promise/async): "TypeError: this.$refs.vje.validate is not a function"How do I check if JSON is valid?