jsonapi-helper:一个 JSONAPI(http

时间:2024-07-23 22:02:31
【文件属性】:

文件名称:jsonapi-helper:一个 JSONAPI(http

文件大小:12KB

文件格式:ZIP

更新时间:2024-07-23 22:02:31

JavaScript

jsonapi-helper 该项目提供了一个简单的辅助规范,该规范只是一个*转换的响应JSON linked属性,以嵌入对象形式回应JSON没有linked属性。 展开收集 说,如果你的响应是一个由这样的主键键控的集合: var posts = { "posts" : [ { "id" : "1" , "title" : "Post Title 1" , "links" : { "author" : "9" , "comments" : [ "1" , "2" , "3" ] } } , { "id" : "2" , "title" : "Post Title 2" , "links" : { "author" : "9" , "comments" : [ "4"


【文件预览】:
jsonapi-helper-master
----.jshintrc(2KB)
----lib()
--------jsonapi-helper.js(7KB)
----tasks()
--------server.js(437B)
--------test.js(693B)
--------lint.js(254B)
--------watch.js(165B)
----README.org(4KB)
----.travis.yml(120B)
----gulpfile.js(272B)
----test()
--------test.js(11KB)
--------support()
----.editorconfig(151B)
----.gitignore(151B)
----index.js(50B)
----package.json(893B)

网友评论