Skip to content

[IoVM] asJson problems #27

@superbobry

Description

@superbobry

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as intendedgood first issueApproachable for new contributorsstdlibIo-level standard library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions