# File lib/vendor/okjson.rb, line 55 def textparse(ts) if ts.length < 0 raise OkJson::ParserError, 'empty' end typ, _, val = ts[0] case typ when '{' then objparse(ts) when '[' then arrparse(ts) else valparse(ts) end end