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

SEE ALSO

String

AUTHOR

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

MODIFICATIONS

1.0 2014-09-09 21:24:14 laplante@sednove.com

1.1 2018-07-25 laplante@sednove.com Add argument newline