Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any method to validate the template. #13

Open
icodebuster opened this issue Apr 28, 2016 · 2 comments
Open

Is there any method to validate the template. #13

icodebuster opened this issue Apr 28, 2016 · 2 comments

Comments

@icodebuster
Copy link

Is there any method to validate the template before converting to JSON.

Any help :)

@webroo
Copy link
Owner

webroo commented Apr 30, 2016

Not that I'm aware of, I'm afraid. The template is not valid JSON so it won't pass a JSON validator, what you need is a Handlebars validator. I did a quick search and couldn't find one. I'll leave this issue open in case anyone else has a good idea.

@icodebuster
Copy link
Author

@webroo I too will try something...for time being what I have done is I am validating the generated JSON data and based on that I prompting the user if there is an error in the template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants