cxflag203 / superobject

Automatically exported from code.google.com/p/superobject
0 stars 0 forks source link

TSuperObject.ParseStream won't work with "non-seekable" streams (patch included) #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I've made very simple JSON formatter (console in/out stream) based on 
TSuperObject, but TSuperObject.ParseStream doesn't work with "non-seekable" 
streams like "stdin".

What is the expected output? What do you see instead?
TSuperObject.ParseStream should not use stream.Seek method.

What version of the product are you using? On what operating system?
Latest svn.

Please provide any additional information below.
Patch attached that makes TSuperObject.ParseStream work without using Seek 
method of stream.

Original issue reported on code.google.com by krystian...@gmail.com on 31 Mar 2013 at 5:43

Attachments: