Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
JSON-ast
node v6.17.1
version:
master
endpoint
share
tweet
const ast = require("json-ast") const {parse, Visitor, AST} = ast; const json = ` { "type": "regex", "pattern": "^\\w+quot;, "errorMsg": "Characters of Name should match regex ^\\w+$ ." } ` parse(json)
Loading…
no comments
sign in
to comment