Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for get_json (0.09 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/LibrariesSourceGeneratorTest.groovy

            sources.hasDependencyAlias(name, method)
    
            where:
            name                  | method
            'groovy'              | 'getGroovy'
            'groovy-json'         | 'getJson'
            'groovy.json'         | 'getJson'
            'groovyJson'          | 'getGroovyJson'
            'lang3'               | 'getLang3'
            'kotlinx.awesome.lib' | 'getLib'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. samples/bookinfo/src/details/details.rb

        book = json['items'][0]['volumeInfo']
    
        language = book['language'] === 'en'? 'English' : 'unknown'
        type = book['printType'] === 'BOOK'? 'paperback' : 'unknown'
        isbn10 = get_isbn(book, 'ISBN_10')
        isbn13 = get_isbn(book, 'ISBN_13')
    
        return {
            'id' => id,
            'author': book['authors'][0],
            'year': book['publishedDate'],
            'type' => type,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. src/encoding/json/decode_test.go

    			} else if err != nil {
    				return
    			}
    			if got := v.Elem().Interface(); !reflect.DeepEqual(got, tt.out) {
    				gotJSON, _ := Marshal(got)
    				wantJSON, _ := Marshal(tt.out)
    				t.Fatalf("%s: Decode:\n\tgot:  %#+v\n\twant: %#+v\n\n\tgotJSON:  %s\n\twantJSON: %s", tt.Where, got, tt.out, gotJSON, wantJSON)
    			}
    
    			// Check round trip also decodes correctly.
    			if tt.err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
Back to top