Hello, I have the following JSON in my database (entered through the browser console). It works perfectly with my code and I’m happy with the shape of the data:
I talked to the team about this. We do not support creating objects in a table with the json type using classes. If you want to achieve this behavior parse your class into a map(or just use maps instead of classes for this query.) and submit a request.
However, this is supported in the new version of flutter-sdk (creating an object that contains a json column). At the moment, the version in early access 8.0.0-alpha.6 is already available: backendless_sdk 8.0.0-alpha.6 | Flutter Package.
There are quite a few breaking changes, so your application may require a bit of refactoring.
Thanks for the information, I’ll attempt to save an object using just Maps for now as I don’t want to deal with breaking change - good to know it’s being supported in upcoming versions!
Also, speaking of the Flutter SDK, I have another quick question. I get the following error when trying to run the app on iOS:
[!] CocoaPods could not find compatible versions for pod "BackendlessSwift":
In snapshot (Podfile.lock):
BackendlessSwift (= 6.5.1)
In Podfile:
backendless_sdk (from `.symlinks/plugins/backendless_sdk/ios`) was resolved to 0.0.1, which depends on
BackendlessSwift (= 6.7.8)
Specs satisfying the `BackendlessSwift (= 6.5.1), BackendlessSwift (= 6.7.8)` dependency were found, but they required a higher minimum deployment target.