Uses of Class
cn.leancloud.json.JSONObject
Packages that use JSONObject
Package
Description
-
Uses of JSONObject in cn.leancloud
Methods in cn.leancloud that return JSONObjectModifier and TypeMethodDescriptionprotected JSONObjectLCObject.generateChangedParam()save/update with server.LCObject.getJSONObject(String key) Get jsonobject value of specified key.LCACL.toJSONObject()get json object.LCObject.toJSONObject()Generate a new json object with server data.Methods in cn.leancloud that return types with arguments of type JSONObjectModifier and TypeMethodDescriptionio.reactivex.Observable<JSONObject> LCUser.blockFriendInBackground(String objectId) block somebody in background.io.reactivex.Observable<JSONObject> LCUser.followInBackground(LCUser asAuthenticatedUser, String userObjectId) follow somebody in background.io.reactivex.Observable<JSONObject> LCUser.followInBackground(LCUser asAuthenticatedUser, String userObjectId, Map<String, Object> attributes) follow somebody in background.io.reactivex.Observable<JSONObject> LCUser.followInBackground(String userObjectId) follow somebody in background.io.reactivex.Observable<JSONObject> LCUser.followInBackground(String userObjectId, Map<String, Object> attributes) follow somebody in background.static io.reactivex.Observable<JSONObject> LCUser.retrieveShortTokenInBackground(String sessionToken) 获取用户的临时 JWT token,用于其他系统认证(例如 TDS 客服系统)static io.reactivex.Observable<JSONObject> LCPush.sendDataInBackground(JSONObject data, LCQuery<? extends LCInstallation> query) A helper method to concisely send a push to a query.io.reactivex.Observable<JSONObject> LCPush.sendInBackground()Sends this push notification in a background thread.static io.reactivex.Observable<JSONObject> LCPush.sendMessageInBackground(String message, LCQuery<? extends LCInstallation> query) A helper method to concisely send a push message to a query.io.reactivex.Observable<JSONObject> LCUser.unblockFriendInBackground(String objectId) unblock somebody in background.io.reactivex.Observable<JSONObject> LCUser.unfollowInBackground(LCUser asAuthenticatedUser, String userObjectId) unfollow somebody in background.io.reactivex.Observable<JSONObject> LCUser.unfollowInBackground(String userObjectId) unfollow somebody in background.io.reactivex.Observable<JSONObject> LCStatusQuery.unreadCountInBackground()get (read, unread) count.Methods in cn.leancloud with parameters of type JSONObjectModifier and TypeMethodDescriptionstatic io.reactivex.Observable<JSONObject> LCPush.sendDataInBackground(JSONObject data, LCQuery<? extends LCInstallation> query) A helper method to concisely send a push to a query.static voidLCPush.sendDataInBackground(JSONObject data, LCQuery<? extends LCInstallation> query, SendCallback callback) A helper method to concisely send a push to a query.voidLCPush.setData(JSONObject data) Sets the entire data of the push message.Constructors in cn.leancloud with parameters of type JSONObject -
Uses of JSONObject in cn.leancloud.convertor
Methods in cn.leancloud.convertor that return types with arguments of type JSONObjectModifier and TypeMethodDescriptionstatic cn.leancloud.convertor.ObserverBuilder.SingleObjectObserver<JSONObject> ObserverBuilder.buildSingleObserver(FollowersAndFolloweesCallback callback) build observer for FollowersAndFolloweesCallback -
Uses of JSONObject in cn.leancloud.core
Methods in cn.leancloud.core that return types with arguments of type JSONObjectModifier and TypeMethodDescriptionio.reactivex.Observable<JSONObject> StorageClient.batchUpdate(LCUser authenticatedUser, JSONObject parameter) io.reactivex.Observable<JSONObject> StorageClient.blockFriend(LCUser authenticatedUser, String objectId) io.reactivex.Observable<JSONObject> StorageClient.followUser(LCUser authenticatedUser, String followee, String follower, Map<String, Object> attr) io.reactivex.Observable<JSONObject> StorageClient.getFollowersAndFollowees(LCUser authenticatedUser, String userId) io.reactivex.Observable<JSONObject> StorageClient.getInboxCount(LCUser authenticatedUser, Map<String, String> param) io.reactivex.Observable<JSONObject> StorageClient.retrieveShortToken(String sessionToken) io.reactivex.Observable<JSONObject> PushClient.sendPushRequest(Map<String, Object> param) io.reactivex.Observable<JSONObject> StorageClient.unblockFriend(LCUser authenticatedUser, String objectId) io.reactivex.Observable<JSONObject> StorageClient.unfollowUser(LCUser authenticatedUser, String followee, String follower) Methods in cn.leancloud.core with parameters of type JSONObjectModifier and TypeMethodDescriptionio.reactivex.Observable<LCFriendshipRequest> StorageClient.acceptFriendshipRequest(LCUser authenticatedUser, LCFriendshipRequest request, JSONObject param) io.reactivex.Observable<LCFriendshipRequest> StorageClient.applyFriendshipRequest(LCUser authenticatedUser, JSONObject data) StorageClient.batchSave(LCUser authenticatedUser, JSONObject parameter) io.reactivex.Observable<JSONObject> StorageClient.batchUpdate(LCUser authenticatedUser, JSONObject parameter) io.reactivex.Observable<? extends LCObject> StorageClient.createObject(LCUser authenticatedUser, String className, JSONObject data, boolean fetchFlag, JSONObject where) voidStorageClient.fileCallback(LCUser authenticatedUser, JSONObject result) <T extends LCUser>
io.reactivex.Observable<T> StorageClient.logIn(JSONObject data, Class<T> clazz) io.reactivex.Observable<cn.leancloud.upload.FileUploadToken> StorageClient.newUploadToken(LCUser authenticatedUser, JSONObject fileData) io.reactivex.Observable<? extends LCObject> StorageClient.saveObject(LCUser authenticatedUser, String className, String objectId, JSONObject data, boolean fetchFlag, JSONObject where) <E extends LCObject>
io.reactivex.Observable<E> StorageClient.saveWholeObject(LCUser authenticatedUser, Class<E> clazz, String endpointClass, String objectId, JSONObject object, boolean fetchFlag, JSONObject where) io.reactivex.Observable<LCUser> StorageClient.signUp(JSONObject data) <T extends LCUser>
io.reactivex.Observable<T> StorageClient.signUpOrLoginByMobilephone(JSONObject data, Class<T> clazz) io.reactivex.Observable<LCUser> StorageClient.signUpWithFlag(JSONObject data, boolean failOnNotExist) -
Uses of JSONObject in cn.leancloud.gson
Subclasses of JSONObject in cn.leancloud.gsonMethods in cn.leancloud.gson that return JSONObjectModifier and TypeMethodDescriptionGsonObject.fluentClear()GsonObject.fluentPutAll(Map<? extends String, ? extends Object> m) GsonArray.getJSONObject(int index) GsonObject.getJSONObject(String key) GSONParser.parseObject(String text) JSONObjectAdapter.read(com.google.gson.stream.JsonReader reader) GSONParser.toJSONObject(Map<String, Object> param) Methods in cn.leancloud.gson with parameters of type JSONObjectModifier and TypeMethodDescription<T> TGSONParser.toJavaObject(JSONObject json, Class<T> clazz) voidJSONObjectAdapter.write(com.google.gson.stream.JsonWriter writer, JSONObject object) -
Uses of JSONObject in cn.leancloud.json
Methods in cn.leancloud.json that return JSONObjectModifier and TypeMethodDescriptionstatic JSONObjectabstract JSONObjectJSONObject.fluentClear()abstract JSONObjectabstract JSONObjectJSONObject.fluentPutAll(Map<? extends String, ? extends Object> m) abstract JSONObjectJSONArray.getJSONObject(int index) abstract JSONObjectJSONObject.getJSONObject(String key) static JSONObjectJSON.parseObject(String text) JSONParser.parseObject(String text) JSONParser.toJSONObject(Map<String, Object> param) Methods in cn.leancloud.json with parameters of type JSONObjectModifier and TypeMethodDescriptionstatic <T> TJSON.toJavaObject(JSONObject json, Class<T> clazz) <T> TJSONParser.toJavaObject(JSONObject json, Class<T> clazz) -
Uses of JSONObject in cn.leancloud.types
Constructors in cn.leancloud.types with parameters of type JSONObject