Permalink
Browse files

parse values in json

  • Loading branch information...
1 parent 01e2ac7 commit c321888f3b6ea4f3b37b669de41f31aee30a0532 @ddollar ddollar committed Apr 4, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/vendor/okjson.rb
@@ -61,8 +61,7 @@ def textparse(ts)
case typ
when '{' then objparse(ts)
when '[' then arrparse(ts)
- else
- raise OkJson::ParserError, "unexpected #{val.inspect}"
+ else valparse(ts)
end
end

0 comments on commit c321888

Please sign in to comment.