mholt / json-to-go

Translates JSON into a Go type in your browser instantly (original)
https://mholt.github.io/json-to-go/
MIT License
4.48k stars 473 forks source link

Web version does not work #60

Closed MikhailKlemin closed 5 years ago

MikhailKlemin commented 5 years ago

Hi there, https://mholt.github.io/json-to-go/ Does not works (it ommits declarations like this:)

type AutoGenerated struct {
    Status int `json:"status"`
    Result struct {
        TotalCount  `json:"totalCount"`
        CurrentPage `json:"currentPage"`
        PageSize    `json:"pageSize"`
        Items       []struct {
            Values     `json:"values"`
            Properties []struct {
                Name       `json:"name"`
                Type       `json:"type"`
                Multiple   `json:"multiple"`
                Title      `json:"title"`
                Constraint `json:"constraint"`
                Value      `json:"value"`
                LongValue  `json:"longValue"`
                Link       `json:"link"`
                Mime       `json:"mime"`
            } `json:"properties"`
            ID          `json:"id"`
            AlfrescoID  `json:"alfrescoId"`
            NodeRef     `json:"nodeRef"`
            Type        `json:"type"`
            Permissions `json:"permissions"`
        } `json:"items"`
    } `json:"result"`
    Message interface{} `json:"message"`
    Trace   interface{} `json:"trace"`
}
mholt commented 5 years ago

Clear your browser cache and hard refresh :wink: