RamiD has asked for the wisdom of the Perl Monks concerning the following question:
Hi ,
I have a problem with perl dancer post parameter to server with template hashref way,
the param is json object, if the json object is simple ,
it work fine mean that perl subroutine template hashref send the json param obj as it should
but if I have more complex json file eg.
{"name":"jsonFileexample","problem":"thisIsThrProblem\"withComma"}
if this is the json file with comma inside one of the json file param , perl hash ref delete the \ from the file , it will look like this
{"name":"jsonFileexample","problem":"thisIsThrProblem"withComma"}
which will be not a valid json file ,
how can I send paran (json file) from perl dancer route template param to server as is , without perl changing my json file !!
Back to
Seekers of Perl Wisdom