English 中文(简体)
能否/是否我利用阿盟作为有效载荷,在利克斯大学网上服务?
原标题:Can/should I use YAML as payload in RESTful webservice?

正如行长所说的那样。

总的说来,我就好像亚马逊那样多了几天。 我在使用JSON的当天又执行了一颗具有知识的WS PoC。 我很想知道,我是否能够使用阿盟。

例如,是否有足够的工具/图书馆/支持这样做? 或者,如果我使用“智者”的话,我最终会避免哪怕是一片 m/恶性 co?

另外,正如我从WWWWW所理解的那样:REST并不限制使用YAML作为有效载荷,这是正确的吗?

感谢!

最佳回答

是的,如果把数据特别为人读用的目标。 技研中心本身只注重各种规程/格式。

但是,在网上服务方面并没有取得多大收益,因为网络服务通常意味着通信。 计算机不提供护理,JSON可以作相应的印本,以在一定程度上改善可处性。

YAML is well supported by mainstream languages, though not always included in standard libraries as JSON typically is. So you ll probably be looking at an additional library dependency. Also, if the client is a browser, parsing will be slower, as you ll have to use a non-native external lib such as described here using: JavaScript YAML Parser . Make sure it gets compressed in transit or the extra indentation spaces will expand the size of the data.

此外,印度尼西亚青年运动还有许多可能具有危险的专横和直截面特征。 每当我使用“安全”字塔时,除数据结构外,还停止使用许多或大部分特征。

不过,我可以想象,有些用途是作为直截了当的参数,或许是url.yaml?fmt=yaml,以协助开发。 否则,所有麻烦都不会大增。

问题回答

暂无回答




相关问题
IIS 6.0 hangs when serving a web-service

I am having issues with one of our web-services. It works fine on my development machine (win XP) whether I host it as a separate application or using cassini from Visual studio. Once I deploy on the ...

ASP.net web services

I am using a web service which sets the Thread.CurrentPrincipal object while logging in and soon later when another webmethod of the same web service accesses Thread.CurrentPrincipal, its different/...

Unity Container Disposing and XML Web Service

I am registering some wrapers over un-managed objects in container. How can I dispose of them at the end of the container s lifetime? Please bear in mind I have an XML Web service.

SharePoint : web service permission error

I have a sharepoint site, and I am calling a standard sharepoint web service. I create the web service request like this : wsDws.Url = this.SiteAddress + @"/_vti_bin/Dws.asmx"; When I use ...

热门标签