func FromJson(str []byte) (*Document, error) {
	doc := &Document{}
	err := json.Unmarshal(str, doc)
	if err != nil {
		return doc, err
	}
	return doc, nil
}
// FromJson tries to parse the document
FromJson tries to parse the document
// FromJson tries to parse the document
func FromJson(str []byte) (*Document, error) {
	doc := &Document{}
	err := json.Unmarshal(str, doc)
	if err != nil {
		return doc, err
	}
	return doc, nil
}
func FromJson ( str [ ] byte ) ( * Document , error ) { doc := & Document { } err := json . Unmarshal ( str , doc ) if err != nil { return doc , err } return doc , nil }
FromJson tries to parse the document
FromJson tries to parse the document