Tabnine Logo
GenericJsonArrayParser.parse
Code IndexAdd Tabnine to your IDE (free)

How to use
parse
method
in
com.atlassian.jira.rest.client.internal.json.GenericJsonArrayParser

Best Java code snippets using com.atlassian.jira.rest.client.internal.json.GenericJsonArrayParser.parse (Showing top 11 results out of 315)

origin: com.atlassian.jira/jira-rest-java-client-core

  @Override
  public Iterable<CimProject> parse(final JSONObject json) throws JSONException {
    return projectsParser.parse(json.getJSONArray("projects"));
  }
}
origin: com.atlassian.jira/jira-rest-java-client

  @Override
  public Iterable<CimProject> parse(final JSONObject json) throws JSONException {
    return projectsParser.parse(json.getJSONArray("projects"));
  }
}
origin: org.openengsb.wrapped/jira-rest-java-client-core

  @Override
  public Iterable<CimProject> parse(final JSONObject json) throws JSONException {
    return projectsParser.parse(json.getJSONArray("projects"));
  }
}
origin: com.atlassian.jira/jira-rest-java-client-p3

  @Override
  public Iterable<CimProject> parse(final JSONObject json) throws JSONException {
    return projectsParser.parse(json.getJSONArray("projects"));
  }
}
origin: org.jboss.set/jboss-aphrodite-jira

  @Override
  public Iterable<Board> parse(final JSONObject json) throws JSONException {
    return valuesParser.parse(json.getJSONArray("values"));
  }
}
origin: com.atlassian.jira/jira-rest-java-client-core

    valuesToParse = allowedValues;
  return GenericJsonArrayParser.create(allowedValuesJsonParser).parse(valuesToParse);
} else {
origin: com.atlassian.jira/jira-rest-java-client

  valuesToParse = allowedValues;
return GenericJsonArrayParser.create(allowedValuesJsonParser).parse(valuesToParse);
origin: org.openengsb.wrapped/jira-rest-java-client-core

    valuesToParse = allowedValues;
  return GenericJsonArrayParser.create(allowedValuesJsonParser).parse(valuesToParse);
} else {
origin: com.atlassian.jira/jira-rest-java-client-p3

  valuesToParse = allowedValues;
return GenericJsonArrayParser.create(allowedValuesJsonParser).parse(valuesToParse);
origin: com.atlassian.jira/jira-rest-java-client-core

  @Override
  public SearchResult parse(JSONObject json) throws JSONException {
    final int startAt = json.getInt("startAt");
    final int maxResults = json.getInt("maxResults");
    final int total = json.getInt("total");
    final JSONArray issuesJsonArray = json.getJSONArray("issues");

    final Iterable<Issue> issues;
    if (issuesJsonArray.length() > 0) {
      final IssueJsonParser issueParser = new IssueJsonParser(json.getJSONObject("names"), json.getJSONObject("schema"));
      final GenericJsonArrayParser<Issue> issuesParser = GenericJsonArrayParser.create(issueParser);
      issues = issuesParser.parse(issuesJsonArray);
    } else {
      issues = Collections.emptyList();
    }
    return new SearchResult(startAt, maxResults, total, issues);
  }
}
origin: org.openengsb.wrapped/jira-rest-java-client-core

  @Override
  public SearchResult parse(JSONObject json) throws JSONException {
    final int startAt = json.getInt("startAt");
    final int maxResults = json.getInt("maxResults");
    final int total = json.getInt("total");
    final JSONArray issuesJsonArray = json.getJSONArray("issues");

    final Iterable<Issue> issues;
    if (issuesJsonArray.length() > 0) {
      final IssueJsonParser issueParser = new IssueJsonParser(json.getJSONObject("names"), json.getJSONObject("schema"));
      final GenericJsonArrayParser<Issue> issuesParser = GenericJsonArrayParser.create(issueParser);
      issues = issuesParser.parse(issuesJsonArray);
    } else {
      issues = Collections.emptyList();
    }
    return new SearchResult(startAt, maxResults, total, issues);
  }
}
com.atlassian.jira.rest.client.internal.jsonGenericJsonArrayParserparse

Popular methods of GenericJsonArrayParser

  • create
  • <init>

Popular in Java

  • Reading from database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSharedPreferences (Context)
  • getExternalFilesDir (Context)
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now