src/eric7/Plugins/CheckerPlugins/SyntaxChecker/jsonCheckSyntax.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9507
1f39839655ea
--- a/src/eric7/Plugins/CheckerPlugins/SyntaxChecker/jsonCheckSyntax.py	Sun Nov 06 11:22:39 2022 +0100
+++ b/src/eric7/Plugins/CheckerPlugins/SyntaxChecker/jsonCheckSyntax.py	Mon Nov 07 17:19:58 2022 +0100
@@ -7,6 +7,7 @@
 Module implementing the syntax check for JSON.
 """
 
+import json
 import multiprocessing
 import queue
 
@@ -174,8 +175,6 @@
             errors), the message, a list with arguments for the message)
     @rtype dict
     """
-    import json
-
     codestring = normalizeCode(codestring)
 
     try:

eric ide

mercurial