We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the swagger codegen I'm doing, the swagger api has something like:
Future<Map<String, int>> getInventory();
My problem is how Jaguar serializer can parse the string response to this ?
The text was updated successfully, but these errors were encountered:
Can you post what is generated for getInventory.
getInventory
Sorry, something went wrong.
Just tried only serializer involve like this and was able to reproduce
import 'package:jaguar_serializer/jaguar_serializer.dart'; void main() { final data = '{"sold":17,"placed":1,"string":1139,"Operated":4,"NOT available":1,"123456":1,"Nonavailable":1,"pending":14,"Not-Operated":10,"available":854,"For sale":1,"Offline":1}'; final repo = JsonRepo(); Map<String, int> parsedData = repo.from(data); print(parsedData); }
So now Map<String, int> can be parsed without problem thanks @tejainece ! Let's keep this issue to manage Map<String, Map<String, ...>> :)
Map<String, int>
Map<String, Map<String, ...>>
No branches or pull requests
In the swagger codegen I'm doing, the swagger api has something like:
Future<Map<String, int>> getInventory();
My problem is how Jaguar serializer can parse the string response to this ?
The text was updated successfully, but these errors were encountered: