Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for publicationHistory (0.13 sec)

  1. internal/s3select/sql/jsondata/books.json

    {
        "title": "Murder on the Orient Express",
        "authorInfo": {
            "name": "Agatha Christie",
            "yearRange": [1890, 1976],
            "penName": "Mary Westmacott"
        },
        "genre": "Crime novel",
        "publicationHistory": [
            {
                "year": 1934,
                "publisher": "Collins Crime Club (London)",
                "type": "Hardcover",
                "pages": 256
            },
            {
                "year": 1934,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. internal/s3select/sql/jsonpath_test.go

    		{"s.authorInfo.name", []interface{}{"Agatha Christie", "Isaac Asimov", "P. G. Wodehouse"}},
    		{"s.authorInfo.yearRange[0]", []interface{}{1890.0, 1920.0, 1881.0}},
    		{"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)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top