I'm using JSON from Rob Sanchez, it's working fine.
The template create a file, but what is the solution for the template save the file with a json extension instead of .html or .js ??
I'm using JSON from Rob Sanchez, it's working fine.
The template create a file, but what is the solution for the template save the file with a json extension instead of .html or .js ??
I'm not completely understand your issue (for template route ext. is not really matter - you can made it as you want), but possible is that you have text/html header instead of application/json?
If yes, try to add terminate="yes" parameter to JSON plugin:
{exp:json:entries channel="news" terminate="yes"}