sample code to parse lat and lon json url inputs and print them