Ich habe einen String:
{"total":9,"per_page":"25","current_page":1,"last_page":1,"next_page_url":null,"prev_page_url":null,"from":1,"to":9,"data": ................. }
und lasse mir diesen zerlegen, umwandeln und dann ausgeben:
Code (Java):
//zerlegen:
String[] parts = test.split(":");
//UTF8->Unicode:
for(int i=0;i<(parts.length);i++){
if(parts[i].contains("title")) //suche nur "titel-Einträge"...
String[] parts = test.split(":");
//UTF8->Unicode:
for(int i=0;i<(parts.length);i++){
if(parts[i].contains("title")) //suche nur "titel-Einträge"...
UTF8 to Unicode
0 commentaires:
Enregistrer un commentaire