JsonData.dispJsonObject C# (CSharp) Method

dispJsonObject() private method

private dispJsonObject ( JSONObject, jsonObj ) : void
jsonObj JSONObject,
return void
    private void dispJsonObject(JSONObject jsonObj)
    {
        text("-- Object: jsonObj.json", x, y); y += 40;

        int id = jsonObj.getInt("id");
        string species = jsonObj.getString("species");
        string name = jsonObj.getString("name");

        string info = id + ", " + species + ", " + name;
        text(info, x, y); y += 40;
        println(info);

        y += 40;
    }