Has a way to escape all character?
Author: itmapleCreated Nov 20, 2021Updated Jul 4, 2025
I have a string x.x.x, if escape , I need to change it to x\.x\.x.
I think it can escape all character like this $x.x.x$
sjson can also support this syntax.
Source: tidwall/gjson