Skip to content

Instantly share code, notes, and snippets.

@nascimento
Created May 6, 2022 21:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nascimento/5200bf88f2803173cfc79a5600515935 to your computer and use it in GitHub Desktop.
Save nascimento/5200bf88f2803173cfc79a5600515935 to your computer and use it in GitHub Desktop.
goavro linkedin textual parser UTF-8 ( Golang )
func textualUtf8Resolver(textual []byte) ([]byte, error) {
var t map[string]interface{}
_ = json.Unmarshal(textual, &t)
response, err := json.Marshal(t)
if err != nil {
return nil, err
}
return response, nil
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment