Created
April 3, 2019 20:23
-
-
Save jodinathan/110cea532e99603fb5dcd690f3d37176 to your computer and use it in GitHub Desktop.
encode fail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:convert' as conv; | |
void main() { | |
Map<int, Map<String, dynamic>> aa = { | |
5: { | |
'hello': 1 | |
} | |
}; | |
print('aa: $aa'); | |
print('aa encoded: ${conv.json.encode(aa)}'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment