Hacker News new | ask | show | jobs
by AgentME 3212 days ago
If you do the JSON serialization yourself, there's no reason for newlines to be in the JSON. (Newlines within strings are encoded as \n.)