[UWP] obtener datos de una web para uwp [英] [UWP]obtener datos de una web para uwp

查看:77
本文介绍了[UWP] obtener datos de una web para uwp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好:

我想知道如何从我想要自行车的自行车停车场获取数据应用程序免费,免费,百分比,问题是你是否必须使用HttpClient,Json。

推荐答案

嗨Javier Ra,

Hi Javier Ra,

请告诉我们更多有关"我想自行携带自行车免费,免费,百分比"的停车自行车网的详细信息。这将有助于我们更清楚地分析您的问题。

Please tell us more detail about the "a web of parking bicycles where I want to take bikes into the App free, free, percentage". It will help us analyze your question more clearly.

如果您想学习如何使用HttpClient并解析Jason,那么有一个关于JSON示例的官方示例。请在此链接中查看:  https://github.com/Microsoft/Windows -universal-samples / tree / master / Samples / Json

If you want to learn how to use the HttpClient and parse the Jason, there is an official sample about the JSON sample. Please refer it in this link: https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/Json.

该示例演示了如何编码和解码JavaScript Object Notation(JSON)对象,数组,字符串,数字和布尔值使用Windows.Data.Json命名空间中的类。此命名空间适用于C#和C ++编程语言。 JavaScript
开发人员应该使用JSON.Parse方法来解析JSON。有关更多信息,请参阅JSON对象(JavaScript),这是一个内部对象,提供将JavaScript值转换为JSON格式的函数。

The sample shows how to encode and decode JavaScript Object Notation (JSON) objects, arrays, strings, numbers and booleans using classes in the Windows.Data.Json namespace. This namespace is intended for C# and C++ programming languages. JavaScript developers should use the JSON.Parse method to parse JSON. For more information, see the JSON Object (JavaScript), an intrinsic object that provides functions to convert JavaScript values to and from the JSON format.

最诚挚的问候,

Jayden Gu

Jayden Gu


这篇关于[UWP] obtener datos de una web para uwp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆