You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only just started to use the gron tool, so maybe I am missing something!
When I include a "<" as part of my json file, the "groned" data output includes the unicode (http://unicode-table.com/en/#003C) version of the character "<" (\u003c).
@davgibbs ah! That'll be a setting on the JSON decoder. The escapeHTML option from memory, on the encoder used in the quoteString function in token.go (again from memory).
I'm on holiday in the countryside at the moment with only a phone so I'm afraid I can't do an immediate fix. I'll sort it when I get back to civilisation if someone hasn't beaten me to the punch!
The ideal solution would be to implement quoteString 'properly' rather than slightly abusing JSON.Marshal, but setting the escapeHTML option would be the fastest to implement.
Hi @tomnomnom
Only just started to use the gron tool, so maybe I am missing something!
When I include a "<" as part of my json file, the "groned" data output includes the unicode (http://unicode-table.com/en/#003C) version of the character "<" (\u003c).
So then I cannot grep for "<" directly, even though it is in my json file.
Is this something that can be fixed? Thanks
The text was updated successfully, but these errors were encountered: