Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ParseString (0.22 sec)

  1. internal/s3select/sql/jsonpath_test.go

    		{"s.publicationHistory[0].pages", []interface{}{256.0, 336.0, Missing{}}},
    	}
    	for i, tc := range cases {
    		t.Run(tc.str, func(t *testing.T) {
    			jp := JSONPath{}
    			err := p.ParseString(tc.str, &jp)
    			// fmt.Println(jp)
    			if err != nil {
    				t.Fatalf("parse failed!: %d %v %s", i, err, tc)
    			}
    
    			// Read only the first json object from the file
    			recs, err := getJSONStructs(b)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 2.8K bytes
    - Viewed (0)
Back to top