2

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?

2
  • How about posting what you want and what you have. Another tip, sscce.org :) Commented Apr 13, 2013 at 18:16
  • SO is not a discussion board nor a search engine, so that we do not discuss or recomend software solutions here. Commented Apr 13, 2013 at 18:18

1 Answer 1

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/

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks, I wasn't sure if Rhino was what I wanted.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.