次の形式でJSON配列を返すjavascriptからWebサービスを呼び出す必要があります。
["hello","there","I","am","an","array"]
残念ながら、このデータをウィジェットにロードするために使用しているjavascriptライブラリ(Sencha Touch)は、その形式をデータ入力として受け入れません。ただし、次のようなもので動作します。
[["hello"],["there"],["I"],["am"],["an"],["array"]]
したがって、ここには2つの質問があります。JavaScriptでそのWebサービスを呼び出して、返された配列を必要な形式に操作するにはどうすればよいですか。私はjQueryのgetJson()メソッドを見てきましたが、それが進むべき道なのか、それとももっと良い方法があるのかわかりません。
JSON配列を配信するURLは ここにあります。 ご協力いただきありがとうございます。