APISonar


com.badlogic.gdx.utils.JsonWriter.OutputType.json

> com > badlogic > gdx > utils > JsonWriter > OutputType > json
com APIs badlogic APIs gdx APIs utils APIs JsonWriter APIs OutputType APIs json APIs

Example 1
public String constructJsonString() {
        String str = "";
        Json json = new Json();
        json.setOutputType(OutputType.json);
        str = json.toJson(this);
        return str;
    }
Example 2
public void setProject(String path) {
        facade = Overlap2DFacade.getInstance();
        projectManager = facade.retrieveProxy(ProjectManager.NAME);
        projectPath = path;
        json.setOutputType(JsonWriter.OutputType.json);
    }
Example 3
public ProjectVersionMigrator(String projectPath, ProjectVO projectVo) {
        this.projectPath = projectPath;
        this.projectVo = projectVo;

        json.setOutputType(JsonWriter.OutputType.json);
    }