Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IoVM] asJson problems #27

Open
superbobry opened this issue Apr 8, 2010 · 0 comments
Open

[IoVM] asJson problems #27

superbobry opened this issue Apr 8, 2010 · 0 comments

Comments

@superbobry
Copy link
Contributor

asJson isn't defined for nil, false and true singletons
Io> true asJson

  Exception: true does not respond to 'asJson'
  ---------
  true asJson                          Command Line 

Io> false asJson

  Exception: false does not respond to 'asJson'
  ---------
  false asJson                         Command Line 

Io> nil asJson

  Exception: nil does not respond to 'asJson'
  ---------
  nil asJson                           Command Line 

I suggest moving all the JSON related functionality from core to the JSON addon,
since it really isn't needed all the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant