[jQuery] extract data from this JSON encode using jQuery

[jQuery] extract data from this JSON encode using jQuery


Hi all,
I have this JSON file that does the encoding from the states database.
I want to extract it out using jquery and populate the select drop
down box. the json file is being encoded in this way:
[
{"State":{"name":"AUSTRALIA CAPITAL TERRITORY"}},
{"State":{"name":"NEW SOUTH WALES"}},
{"State":{"name":"NORTHERN TERRITORY"}},
{"State":{"name":"QUEENSLAND"}},
{"State":{"name":"SOUTH AUSTRALIA"}},
{"State":{"name":"TASMANIA"}},
{"State":{"name":"VICTORIA"}},
{"State":{"name":"Western Australia"}}
]
not very sure how to extract out the values. Please help me. Thanks!