EncodeJSONEmptyArray returns a byte array b with a byte to signify an empty JSON array.
(b []byte)
| 722 | |
| 723 | // EncodeJSONEmptyArray returns a byte array b with a byte to signify an empty JSON array. |
| 724 | func EncodeJSONEmptyArray(b []byte) []byte { |
| 725 | return append(b, escape, escapedTerm, jsonEmptyArray) |
| 726 | } |
| 727 | |
| 728 | // AddJSONPathTerminator adds a json path terminator to a byte array. |
| 729 | func AddJSONPathTerminator(b []byte) []byte { |
no outgoing calls
no test coverage detected
searching dependent graphs…