❔ JArray.Parse(json) is adding addition whitespaces
The jsonstring is show on the first pic
8 Replies
ANd this is the result after is Parse it to Jarray
so what are this whitespaces between properties..
Second isn't a string
It's an object
Either that or it's the string representation of the object, which happends to parse it that way
Yeah its a string representation of the object.. but if parse it back to string, the
\n\r
appeares..
so JsonString -> Jobject -> different JsonStringSeems like they add newline characters
Can't you just do
string.replace
?Why not just... parse it to a proper object?
Instead of fucking around with
JObjects
and stuff?Not sure what the problem is in general
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.