Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.4 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.4 KB

STON - Smalltalk Object Notation

CI

A lightweight text-based, human-readable data interchange format for class-based object-oriented languages like Smalltalk. It can be used to serialize domain level objects, either for persistency or network transport. As its name suggests, it is based on JSON (Javascript Object Notation). It adds symbols as a primitive value, class tags for object values and references. Implementations for Pharo Smalltalk, Squeak and Gemstone Smalltalk are available.

Installation

Metacello new
	baseline: 'Ston';
	repository: 'github://svenvc/ston/repository';
	load

Documentation

The original Smalltalk Object Notation paper

The Pharo Enterprise book STON chapter

The most formal description is The STON Specification

Sven Van Caekenberghe MIT Licensed

Dependency

Add the following code to your Metacello baseline or configuration

spec 
   baseline: 'Ston' 
   with: [ spec repository: 'github://svenvc/ston/repository' ]