Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

schema json in oython

import json

def validateJSON(jsonData):
    try:
        json.loads(jsonData)
    except ValueError as err:
        return False
    return True
Source by pynative.com #
 
PREVIOUS NEXT
Tagged: #schema #json #oython
ADD COMMENT
Topic
Name
9+4 =