AddJSONPathTerminator adds a json path terminator to a byte array.
(b []byte)
| 963 | |
| 964 | // AddJSONPathTerminator adds a json path terminator to a byte array. |
| 965 | func AddJSONPathTerminator(b []byte) []byte { |
| 966 | return append(b, escape, escapedTerm) |
| 967 | } |
| 968 | |
| 969 | // AddJSONPathSeparator adds a json path separator to a byte array. |
| 970 | func AddJSONPathSeparator(b []byte) []byte { |
no outgoing calls
no test coverage detected
searching dependent graphs…