Trying to convert:
Map(1416479696353 -> Map(name -> You,savePoint -> 4),
1416479788969 -> Map(name -> You, savePoint -> 9),
1416479801372 -> Map(name -> govind,savePoint -> 10))
into JavaScript json by:
<script>
var [email protected](data.toMap)
</script>
but giving me this error:
SyntaxError: invalid property id
var info={"1416479696353":{"name&qu
----------^
How to get in the correct manner?