EncodeJSONEmptyArray returns a byte array b with a byte to signify an empty JSON array.
(b []byte)
| 497 | |
| 498 | // EncodeJSONEmptyArray returns a byte array b with a byte to signify an empty JSON array. |
| 499 | func EncodeJSONEmptyArray(b []byte) []byte { |
| 500 | return append(b, escape, escapedTerm, jsonEmptyArray) |
| 501 | } |
| 502 | |
| 503 | // AddJSONPathTerminator adds a json path terminator to a byte array. |
| 504 | func AddJSONPathTerminator(b []byte) []byte { |
no outgoing calls
no test coverage detected