Thanks, In the mean time I've founded that it has to do with HTML injections. Question remains how in go get rid/disable this protection ? I'm getting this data from SNMP communication and I have to parse them, display and store.
I didn't found in json library any method to handle such "protection". Does it mean I have to write some regex parser and call it every time I'm getting data from JSON to bypass this ? W dniu poniedziałek, 3 października 2016 12:12:05 UTC+2 użytkownik ehedgehog napisał: > > On 3 October 2016 at 10:16, Marcin Jurczuk <[email protected] > <javascript:>> wrote: > > Hi, > > > > I hit some issue with son.Marshal string parsing and I don't know is it > > package error or "this is not a bug - it's a feature". > > > > Here is code that doesn't work like expected: > > https://play.golang.org/p/vAOhLCtoSh > > > > > > Why I'm getting \u003c\u003 instead of << when printing printing out > json ?? > > > http://stackoverflow.com/questions/21592283/character-in-json-data-is-serialized-to-u003c > > > Chris > > -- > Chris "allusive" Dollin > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
