I have a dictionary that specified a layout for a map I am going to use in javascript. The only thing I need to do to make this dictionary a valid json is to convert the single ' to ".
I am new to java and json stuff but here is a snippet of what the dictionary loos like:
{'State': '336', 'Variable': 'Median Household Income', 'Year':
'2017'}, 'below': 'water', 'type': 'fill', 'color': 'rgba(187, 214, 235,
255)', 'maxzoom': 13, 'opacity': 0.7}], 'bearing': 0, 'center': {'lat':
45.51439913430827, 'lon': -122.76771709039427}, 'pitch': 0, 'zoom': 9,
'style': 'streets'}, 'margin': {'l': 0, 'r': 0, 't': 0, 'b': 0},
'plot_bgcolor': '#202d56', 'paper_bgcolor': '#202d56'}