public static Project asProject ( JsonObject json ) { return ProjectBuilder . with ( asSystemInputDef ( json . get ( INPUTDEF_KEY ) ) ) . systemInputRef ( asSystemInputRef ( json . get ( INPUTDEF_KEY ) ) ) . generators ( asGeneratorSet ( json . get ( GENERATORS_KEY ) ) ) . generatorsRef ( asGeneratorSetRef ( json . get ( GENERATORS_KEY ) ) ) . baseTests ( asSystemTestDef ( json . get ( BASETESTS_KEY ) ) ) . baseTestRef ( asSystemTestRef ( json . get ( BASETESTS_KEY ) ) ) . refBase ( asRefBase ( json . getJsonString ( REFBASE_KEY ) ) ) . build ( ) ; }
Returns the Project represented by the given JSON object .