Advertisement
Guest User

Untitled

a guest
Dec 15th, 2014
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. (main)> $json
  2. => "{\"email\":\"admin\",\"password\":\"foo\"}"
  3. (main)> BW::JSON.parse $json
  4. 2014-12-15 17:59:02.852 Foo[96404:8702306] -[__NSCFString bytes]: unrecognized selector sent to instance 0x1503d260
  5. => #<NSException:0xeae3960>
  6. (main)> BW::JSON.parse $json.dup
  7. => {"password"=>"foo", "email"=>"admin"}
  8. (main)>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement