Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for json (0.21 sec)

  1. docs/en/docs/release-notes.md

    So, a request with a content type of `text/plain` containing JSON data would be accepted and the JSON data would be extracted.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
  2. doc/go_spec.html

    type Person struct {
    	Name    string
    	Address *struct {
    		Street string
    		City   string
    	}
    }
    
    var data *struct {
    	Name    string `json:"name"`
    	Address *struct {
    		Street string `json:"street"`
    		City   string `json:"city"`
    	} `json:"address"`
    }
    
    var person = (*Person)(data)  // ignoring tags, the underlying types are identical
    </pre>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top