When the length of array is unknown in advance, how do you know whether the input stream hasMore() objects for deserialization? I have preceded every object of array by a Boolean(true). The series was terminated by Boolean(false).
Unfortunately, we are not allowed to serialize the 'null' object to be used as an object string terminator.
No comments:
Post a Comment