Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for get_json (0.29 sec)

  1. src/cmd/go/testdata/script/test_json.txt

    Russ Cox <******@****.***> 1667840325 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/InternalProblemDetails.java

     * limitations under the License.
     */
    
    package org.gradle.tooling.internal.protocol;
    
    import org.gradle.api.NonNullApi;
    
    @NonNullApi
    public interface InternalProblemDetails {
    
        String getJson();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 778 bytes
    - Viewed (0)
  3. pilot/pkg/model/conversion_test.go

    		t.Errorf("FromYAML should have failed using Schema with bad MessageName")
    	}
    
    	gotJSON, err := protomarshal.ToJSON(msg)
    	if err != nil {
    		t.Errorf("ToJSON failed: %v", err)
    	}
    	if gotJSON != strings.Join(strings.Fields(wantJSON), "") {
    		t.Errorf("ToJSON failed: got %s, want %s", gotJSON, wantJSON)
    	}
    
    	if _, err = protomarshal.ToJSON(nil); err == nil {
    		t.Error("should produce an error")
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 02 20:50:14 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  4. 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)
  5. operator/cmd/mesh/operator_test.go

    	cmd += " --manifests=" + string(snapshotCharts)
    	cmd += " --output " + odArgs.common.outputFormat
    
    	gotJSON, err := runCommand(cmd)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if refreshGoldenFiles() {
    		t.Logf("Refreshing golden file for %s", goldenFilepath)
    		if err := os.WriteFile(goldenFilepath, []byte(gotJSON), 0o644); err != nil {
    			t.Error(err)
    		}
    	}
    
    	wantJSON, err := readFile(goldenFilepath)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 29 14:15:33 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top