function

stringnify . string . sncode

VERSIONlatest Take an expression and return a string.

STRINGNIFY

NAME

stringnify - Takes an expression and returns a string.

SYNOPSIS

stringnify(space:bool,  sort:bool, newline: bool, expression)

DESCRIPTION

stringnify is used to take an expression and return a string. It can be used as a JSON stringnifier.

sort is used to sort the list of keys.

space is used to add a space after a '}'.

newline is used to add a newline after a "}'.

EXAMPLES

Note: In the followings examples, the _ between the { should be removed to make it work.

res={_{a={"a":1,"b":"3"}; a; stringnify(a);}} return

res=\{"a":1,"b":"3"}\{"a":1,"b":"3"}.

The second expression is a string

AUTHOR

Written by Pierre Laplante and Caroline Laplante, <laplante@sednove.com>