简体   繁体   English

这个图书馆是如何运作的? JsonEngine

[英]How does this library work? JsonEngine

https://code.google.com/p/jsonengine/ https://code.google.com/p/jsonengine/

I have uploaded it to my app engine, I can see the Admin Panel but i'm not sure how I can use it to make json requests. 我已将其上传到我的应用引擎,我可以看到管理面板,但我不知道如何使用它来制作json请求。

Do I have to write my own classes or does it do it automatically? 我是否必须编写自己的类或自动执行此操作?

Can someone explain to me how this library works. 有人可以向我解释这个库是如何工作的。 I have read the wiki many times and I don't get it. 我已多次阅读维基,但我不明白。

Can I use this library to make json requests from my mobile app to list/update/create records on the server? 我是否可以使用此库从我的移动应用程序发出json请求以列出/更新/创建服务器上的记录?

JSONEngine is a RESTful database. JSONEngine是一个RESTful数据库。 It is not a library to make JSON requests, it is a library to store/retrieve/handle JSON requests. 它不是一个发出 JSON请求的库,它是一个存储/检索/处理 JSON请求的库。 Its not a library, its a server. 它不是一个库,它是一个服务器。

You can read/write data to it by making HTTP calls, as documented in their Usage Guide . 您可以通过进行HTTP调用来读取/写入数据,如其使用指南中所述 Its up to you to decide how (or what library) that you want to save/retrieve data from this JSONEngine. 由您来决定要从此JSONEngine保存/检索数据的方式(或库)。 There are dozens of Java libraries for accessing REST API, such as UniRest for example. 有许多用于访问REST API的Java库,例如UniRest

| | Can I use this library to make json requests from my mobile app to list/update/create records on the server? 我是否可以使用此库从我的移动应用程序发出json请求以列出/更新/创建服务器上的记录?

Nope, again this is not a library, its a server. 不,这不是一个库,它是一个服务器。 You can use any Java REST library to make calls to store/retrieve data from this JSONEngine server. 您可以使用任何Java REST库来调用从此JSONEngine服务器存储/检索数据。

EDIT: Additional clarification 编辑:补充说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM