使用Volley Android的Json补丁请求

时间:2015-12-23 21:34:57

标签: android android-volley json-patch

我有以下代码。

ObjectMapper mapper = new ObjectMapper();
JsonNode source = mapper.readTree(oldJson);
JsonNode target = mapper.readTree(newJson);
JsonPatch patch = JsonDiff.asJsonPatch(source,target);

现在我如何使用Request.Method.PATCH?

通过Volley发送此补丁对象

我知道如何通过Volley发送String和JsonObject GET / POST请求,但无法找到补丁请求。

0 个答案:

没有答案