i have a large php array encoded to JSON, and passing it to a ruby script.
however, it keeps throwing JSON::ParserError.... it is confused by the numerous doublequotes and singlequotes in the array.
i ahve tried
escapeshellarg, escapeshellcmd ..... these are not working.