2017-10-16 3 views

Répondre

1

Vous pouvez analyser la chaîne. Insérez une nouvelle ligne dans et x:Bind cette méthode pour TextBlock.Text:

private string ParseString(string jsonString) 
    { 
     return jsonString.Replace(",", ",\n").Replace("{", "{\n").Replace("}", "\n}"); 
    } 
+0

Hmm ...... cela fonctionne, bien sûr. Mais je veux un contrôle comme https://www.bejson.com/ – Vincent