We help IT Professionals succeed at work.

Java '\n' with Json and flex

royjayd
royjayd asked
on
hi guyys

Anyone care to help? Its a  question on java + Json + flex

http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/JSON/Q_27480772.html#a37246409

any inputs appreciated
thanks
Comment
Watch Question

Awarded 2011
Awarded 2011
Commented:
So what is your question,
are those end of lines which are offeniding?

So maybe you ca use this:

 String buf1 = sout.replaceAll("\\r\\n", "");

before processing JSON string - it will then remove end of lines