if-json-null ( x if-null else -- ) - Factor Documentation

if-json-null ( x if-null else -- )
JSON serialization



Vocabulary
json

Inputs
x an object
if-null an object
else an object


Outputs
None

Definition
USING: kernel ;

IN: json

: if-json-null ( x if-null else -- )
[ dup json-null? ] [ [ drop ] prepose ] [ ] tri* if ; inline

AltStyle によって変換されたページ (->オリジナル) /