Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c0c6035d7d
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (26 sloc) 0.575 kb
Number extend [
storeAsJsonOn: aWriteStream [
<category: 'json-storing'>
self printOn: aWriteStream
]
]
Float extend [
storeAsJsonOn: aWriteStream [
<category: 'json-storing'>
self isFinite
ifTrue: [super storeAsJsonOn: aWriteStream]
ifFalse: [aWriteStream nextPutAll: 'null'].
]
]
Fraction extend [
storeAsJsonOn: aWriteStream [
<category: 'json-storing'>
self asFloat storeAsJsonOn: aWriteStream.
]
]
ScaledDecimal extend [
storeAsJsonOn: aWriteStream [
<category: 'json-storing'>
self asFloat storeAsJsonOn: aWriteStream.
]
]
Jump to Line
Something went wrong with that request. Please try again.