gst-json

Description

GNU Smalltalk JSON Encoder/Decoder Implementation

Details

Source
GitHub
Dialect
gnu_smalltalk (50% confidence)
Stars
2
Created
Oct. 21, 2017
Updated
Dec. 30, 2025

Categories

Serialization

README excerpt

# gst-json

GNU Smalltalk JSON Encoder/Decoder Implementation

## Usage

### Decode

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

### Encode

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

----

## Library Pollution

### Decode

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

### Encode

```st
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
← Back to results