merge json

parent 9a8f27c3
...@@ -28,7 +28,7 @@ def main(argv): ...@@ -28,7 +28,7 @@ def main(argv):
jsonFile=open(argv[2]).read() jsonFile=open(argv[2]).read()
cfg = json.loads(jsonFile) cfg = json.loads(jsonFile)
dataDict = L2ASCLtoDict(argv[1], cfg['wkt']) dataDict = L2ASCLtoDict(argv[1], cfg['wkt'])
print(dataDict) print(json.dumps(dataDict))
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
if __name__ == "__main__": if __name__ == "__main__":
main(sys.argv) main(sys.argv)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment