AddJSONPathTerminator adds a json path terminator to a byte array.
(b []byte)
| 727 | |
| 728 | // AddJSONPathTerminator adds a json path terminator to a byte array. |
| 729 | func AddJSONPathTerminator(b []byte) []byte { |
| 730 | return append(b, escape, escapedTerm) |
| 731 | } |
| 732 | |
| 733 | // EncodeJSONEmptyObject returns a byte array b with a byte to signify an empty JSON object. |
| 734 | func EncodeJSONEmptyObject(b []byte) []byte { |
no outgoing calls
no test coverage detected
searching dependent graphs…