Peter Karman wrote:

I believe using eval directly has security issues.

Only if you don't trust your data source. If you control the JSON coming in, then it's not a problem to use eval, and in fact, it's much faster. But if you don't control the data source, then yes use something else. In this case it sounds like the OP controls his data source since he's having problems sending it.

--
Michael Peters
Plus Three, LP


#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to