I'm reading about the Java API for Json Processing, specified in ths site. However, when I try to test such code like:
JsonReader reader = Json.createReader(new FileInputStream(...));
I can't, cause neither JsonReader
class or Json
class can't be imported from nowhere. I only get some JsonParser
class which is imported from sun.org.mozilla.javascript.internal.json.JsonParser
but obviously it isn't what I'm trying to get.
I have Java EE installed and I'm working with the Java EE version of Netbeans. How can I seize these features?