I have a HTML code that looks like this.
<div>
<script id='jsonData' type="text/x-jquery-tmpl">
[{"legs":"departureAirport":{"airportID":4934980,"airportCity":"Bangkok","airportCode":"DMK","airportName":"Bangkok (DMK)","airportCityState":"Bangkok"}}]
</script>
I want to use JSoup to parse this HTML and get the JSON value in this html. How can I do this?