Setar comma on a return Json

-1

I'm developing an application in C # with API. It will query and show the result. Very simple thing. But in one of my methods it returns the height of the non-comma face. Come for example like this: 175.

Can anyone help me put a comma in the middle? I'm a layman in the C # language.

Thanks

var json = JObject.Parse(result);

            pessoa.altura = (string)json["height"];
    
asked by anonymous 08.04.2017 / 02:14

1 answer

0

Hello. Use the newtonsoft json package. It allows you to work more easily converting jsons to .net objects and vice versa.

Here you can learn more how to use this library.

I hope I have helped.

    
08.04.2017 / 02:47