// ParseJSON converts a JSON string to a pointer to a LinkedinProfile.
ParseJSON converts a JSON string to a pointer to a LinkedinProfile.
// ParseJSON converts a JSON string to a pointer to a LinkedinProfile .
func parseJSON(s string) (*LinkedinProfile, error) {
	linkedinProfile := &LinkedinProfile{}
	bytes := bytes.NewBuffer([]byte(s))
	err := json.NewDecoder(bytes).Decode(linkedinProfile)
	if err != nil {
		return nil, err
	}
	return linkedinProfile, nil
}
func parseJSON ( s string ) ( * LinkedinProfile , error ) { linkedinProfile := & LinkedinProfile { } bytes := bytes . NewBuffer ( [ ] byte ( s ) ) err := json . NewDecoder ( bytes ) . Decode ( linkedinProfile ) if err != nil { return nil , err } return linkedinProfile , nil }
ParseJSON converts a JSON string to a pointer to a LinkedinProfile.
ParseJSON converts a JSON string to a pointer to a LinkedinProfile .