T
T
Tony13372017-05-26 12:42:55
JSON
Tony1337, 2017-05-26 12:42:55

C# (WinForms) - How to translate Json format into user-friendly text?

Hello! I'm getting familiar with the VK API, and have used the WebClient to make a Get request. Everything goes smoothly, but the text, as it should, is displayed on the textbox in Json format. Is it possible to translate it into "normal" text for the user? Thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Peter, 2017-05-26
@Tony1337

So display it in the form you need:

.text = string.Format("Это значение ({0}) из Json, и это ({1}) тоже", json["prop1"], json["prop2"]);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question