GNU Smalltalk JSON Encoder/Decoder Implementation
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
json.st

README.md

gst-json

GNU Smalltalk JSON Encoder/Decoder Implementation

Usage

Decode

'{"foo": 42, "bar": [{"baz": true}]}' readStream nextJSON

Encode

{'foo'. 42. 'baz'. true} asJSON

Library Pollution

Decode

OrderedCollection#removeLast:
ReadStream#nextJSON
ReadStream#nextJSONCharacterToken
ReadStream#nextJSONEscapedCharacterToken
ReadStream#nextJSONStringToken

Encode

Boolean#printJSONOn:
Character#printJSONOn:
CharacterArray#printJSONOn:
Dictionary#printJSONOn:
Float#printJSONOn:
Integer#printJSONOn:
Number#printJSONOn:
Object#asJSON
Object#printJSONOn:
SequenceableCollection#printJSONOn:
UndefinedObject#printJSONOn:

License

BSD 2-Clause