Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

ast python

# how to load a string to json
import ast
jsonobj = ast.literal_eval(str(hdf))
 
PREVIOUS NEXT
Tagged: #ast #python
ADD COMMENT
Topic
Name
6+6 =