Web Connection
255 character limit with Deserialize?
I am using wwJsonSerializer to Deserialize an incoming JSON message. It appears there is a 255 character limit due to crashing with an "unexpected character" error when longer than that.
Is that the correct design limit?
~bob

No that shouldn't be a problem. Got sample JSON? Is that the entire JSON string or a key value being longer?
Make sure you're using the full deserialization routine, and not the really old one. If you're on an older version use DeserializeJson()
not Deserialize()
. In recent versions Deserialize()
just calls DeserializeJson()
but in older versions those were two different parsers. The old one (Fox based code) should not be used.
+++ Rick ---
Hello Bob, just my 2 cents JSON does not allow real line-breaks..