Is there a name for Python literals? The way JavaScript literals are called JSON?

81 Views Asked by At

I have a program that can output results either as JSON or Python data structure literals. I am wondering how to succinctly name the latter option.

1

There are 1 best solutions below

2
On

JavaScript literals are not called JSON. JSON derived its name and syntax from JavaScript, but they’re not the same thing. Use “Python literals”.