in reply to Re^3: JSON::XS Wide Character Problem
in thread JSON::XS Wide Character Problem

> those JSON strings never include "\n"

from what I understand code for line-breaks - i.e. CR LF and alike - are not allowed inside JSON strings. They must be represented by \n for newline (resp. \\n depending on escape rules of the source language) .

BUT line-breaks are allowed outside strings between elements of your object. They are just for formatting and ignored. (hence you don't need to chomp them either)

So assuming that one object is always inside one line depends on the source.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery