json.private vocabulary
Factor handbook ยป Vocabulary index


Summary

Words

Tuple classes
ClassSuperclassSlots
not-a-json-number tuplestring


Generic words
WordStack effect
json-coerce( obj -- str )


Symbol words
json-depth


Ordinary words
WordStack effect
(read-json-escape)( stream accum -- accum )
(read-json-string)( stream accum -- accum )
check-length( seq n -- seq )
decode-utf16-surrogate-pair( hex1 hex2 -- char )
first-surrogate?( hex -- ? )
get-json( objects -- obj )
json-close-array( accum -- accum )
json-close-hash( accum -- accum )
json-expect( token stream -- )
json-friendly( seq -- translated )
json-friendly-fast( seq -- )
json-number( char stream -- num char )
json-open-array( accum -- accum )
json-open-hash( accum -- accum )
not-a-json-number( string -- * )
pop-unsafe( seq -- elt )
read-json-escape-unicode( stream -- char )
read-json-string( stream -- str )
read-second-surrogate( stream -- hex )
scan( stream accum char -- stream accum )
second-last-unsafe( seq -- second-last )
stream-read-4hex( stream -- hex )
v-close( accum -- accum )
v-over-push( accum -- accum )
v-pick-push( accum -- accum )
write-json-assoc( obj stream -- )
write-json-generic-escape( stream char -- stream )
write-json-generic-escape-bmp( stream char -- stream )
write-json-generic-escape-surrogate-pair( stream char -- stream )


Class predicate words
WordStack effect
not-a-json-number?( object -- ? )


Files