Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for JsonAdapter (0.1 sec)

  1. docs/recipes.md

        ```
    === ":material-language-java: Java"
        ```java
          private final OkHttpClient client = new OkHttpClient();
          private final Moshi moshi = new Moshi.Builder().build();
          private final JsonAdapter<Gist> gistJsonAdapter = moshi.adapter(Gist.class);
    
          public void run() throws Exception {
            Request request = new Request.Builder()
                .url("https://api.github.com/gists/c2a7c39532239ff261be")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
Back to top