How do you marshal a sql.NullString such that the output is flattened to give just the value in go? How do you marshal a sql.NullString such that the output is flattened to give just the value in go? json json

How do you marshal a sql.NullString such that the output is flattened to give just the value in go?