Ticket #2031
Json:
["a" ,"a"]
Output:
sys::ParseErr: Expected ], got , at 7 util::JsonInStream.err (JsonInStream.fan:259) util::JsonInStream.expect (JsonInStream.fan:242) util::JsonInStream.parseArray (JsonInStream.fan:230) util::JsonInStream.parseVal (JsonInStream.fan:90) util::JsonInStream.readJson (JsonInStream.fan:41)
Promoted to ticket #2031 and assigned to brian
One more issue with JsonInStream:
JsonInStream
Fantom Shell v1.0.63 ('?' for help) fansh> util::JsonInStream("\"".in).readJson sys::Err: java.lang.OutOfMemoryError: Java heap space java.util.Arrays.copyOf (Arrays.java:2882) java.lang.AbstractStringBuilder.expandCapacity (AbstractStringBuilder.java:100) java.lang.AbstractStringBuilder.append (AbstractStringBuilder.java:572) java.lang.StringBuilder.append (StringBuilder.java:203) fan.sys.StrBuf.addChar (StrBuf.java:90) util::JsonInStream.parseStr (JsonInStream.fan:174) util::JsonInStream.parseVal (JsonInStream.fan:87) util::JsonInStream.readJson (JsonInStream.fan:41) fansh>
Ticket resolved in 1.0.64
Fixed both problems
Login or Signup to reply.
Akcelisto Fri 21 Sep 2012
Json:
Output:
brian Mon 24 Sep 2012
Promoted to ticket #2031 and assigned to brian
ivan Sat 29 Sep 2012
One more issue with
JsonInStream
:brian Mon 15 Oct 2012
Ticket resolved in 1.0.64
Fixed both problems