InputForm
Wolfram Kernel
InputForm[expr_]reveals true form of a given expression avoiding any transformations. It is one-dimensional output, suitable to be typed as lines of Wolfram Language input.
Standard output form of WLJS notebook output cells is decorated
InputFormFor example:
Red
Red // InputFormRGBColor[1, 0, 0]or as an input string:
ToString[Red, InputForm]"RGBColor[1, 0, 0]"