bitly / go-simplejson

a Go package to interact with arbitrary JSON
MIT License
3.76k stars 498 forks source link

The string returned results for nil #48

Closed zplzpl closed 8 years ago

zplzpl commented 8 years ago

str := {"project":"xx","event":"aa","params":[{"page_id":"72","title":"\u65e5","path":"/","url":"http:\/ \/www.github.com"}],"create_time":"1456133265"}

result, err := simplejson.NewJson([]byte(str))

err == invalid character '\n' in string literal

zplzpl commented 8 years ago

oh.I wrong.