Are you looking for help?
Yes
Backendless Version (3.x / 5.x, Online / Managed / Pro )
Backendless Cloud
Client SDK (REST / Android / Objective-C / Swift / JS )
Objective-C
Application ID
ED0A6EF3-C6E3-429A-FF34-4C44BE7C3500
Expected Behavior
Please describe the expected behavior of the issue, starting from the first action.
-
@property ( strong , nonatomic ) BLPoint *userLocation;
-
_userLocation = [[BLPoint alloc] initWithLongitude:_longitudeDo latitude:_latitudeDo];
-
[Backendless.shared.userService loginWithIdentity:loginData.email password:loginData.password responseHandler:^(BackendlessUser *loggedInUser) {
[loggedInUser setPropertyWithPropertyName:@"geoPoint" propertyValue:self->_userLocation]; [Backendless.shared.userService updateWithUser:loggedInUser responseHandler:^(BackendlessUser *updatedUser) { NSLog(@"User has been updated: %@", updatedUser); } errorHandler:^(Fault *fault) { NSLog(@"Error: %@", fault.message); }]; } errorHandler:^(Fault *fault) { NSLog(@"Error: %@", fault.message); }];
Actual Behavior
- ’Invalid type in JSON write (Backendless.BLPoint)'