I am looking for some help with parsing JavaScript variables and arrays from a .js file from the web. Something like Jsoup except it parses JavaScript rather than HTML. Any suggestions on how I could manage something like this?
Asked
Active
Viewed 7,066 times
2
-
How about posting what you want and what you have. Another tip, http://sscce.org/ :) – Menno Apr 13 '13 at 18:16
-
[SO](http://stackoverflow.com/about) is not a discussion board nor a search engine, so that we do not discuss or recomend software solutions here. – Tomáš Zato Apr 13 '13 at 18:18
1 Answers
0
Starting from Java 1.6 JavaScript parser Rhino is a part of JDK.
Take a look on the official tutorial from Oracle: http://docs.oracle.com/javase/6/docs/technotes/guides/scripting/programmer_guide/

AlexR
- 114,158
- 16
- 130
- 208