Are Nashorn/jjs built in objects documented anywhere?

Andrew Thompson lordpixel+openjdk at
Sun Jun 30 16:50:31 PDT 2013

First post so apologies if my terminology is off. 

I started experimenting with jjs today and thought I would have a go at loading some JSON data that's of interest to me. So I started Googling around for the best way to do that.

I quickly figured out that within jjs there's a top level object defined called JSON which has a method called parse().

But that leads to a question: should I be writing code that uses objects that I find by accident like this? Are they a public API which will be possible to rely on?

How can I find out what exists in general and whether it is public or an implementation detail?

AndyT (lordpixel - the cat who walks through walls)
A little bigger on the inside

	(see you later space cowboy, you can't take the sky from me)

More information about the nashorn-dev mailing list