(rontolisp) docs
← Functions

prin1

(prin1 object &optional stream)

Writes object to standard output in its readable form, exactly like print but without the trailing newline. Strings are printed with surrounding quotes and characters in #\ syntax, so the output could be read back by read. Inside a string every embedded " and \ is preceded by a \; a newline is printed literally. Binding *print-case* converts the case of every symbol printed (Reader Case). With the optional stream argument the output goes to that stream instead of standard output. Returns object.

"hello"
"{\"hello\":\"aaa\"}"