Code example for JSONObject: Parsing JSON documents

Methods: getJSONObjectgetString

0
    final public FreebaseType type;
     
    private final static String WARN = "Not implemented";
     
    static public ReconConfig reconstruct(JSONObject obj) throws Exception {
        JSONObject type = obj.getJSONObject("type");
         
        return new DataExtensionReconConfig( 
            new FreebaseType( 
                type.getString("id"),
                type.getString("name")
            ) 
        ); 
    } 
     
    public DataExtensionReconConfig(FreebaseType type) {
        this.type = type;
    } 
 
    @Override 
Connect your IDE to all the code out there  Get Codota for Java