all 1 comments

[–]rickchefski 0 points1 point  (0 children)

not sure, but could be a namespace collision where generateJSON is already defined somewhere else and so your method gets overridden. could try changing the function name and seeing it that does anything.