EncodeJSONEmptyArray returns a byte array b with a byte to signify an empty JSON array.
(b []byte)
| 958 | |
| 959 | // EncodeJSONEmptyArray returns a byte array b with a byte to signify an empty JSON array. |
| 960 | func EncodeJSONEmptyArray(b []byte) []byte { |
| 961 | return append(b, escape, escapedTerm, jsonEmptyArray) |
| 962 | } |
| 963 | |
| 964 | // AddJSONPathTerminator adds a json path terminator to a byte array. |
| 965 | func AddJSONPathTerminator(b []byte) []byte { |
no outgoing calls
no test coverage detected
searching dependent graphs…