public static Workflow fromJson ( String json ) throws IOException { ObjectMapper mapper = new ObjectMapper ( ) ; return mapper . readValue ( json , Workflow . class ) ; }
Converts a JSON workflow configuration to a workflow object .