AddJSONPathSeparator adds a json path separator to a byte array.
(b []byte)
| 968 | |
| 969 | // AddJSONPathSeparator adds a json path separator to a byte array. |
| 970 | func AddJSONPathSeparator(b []byte) []byte { |
| 971 | return append(b, escape, escapedJSONObjectKeyTerm) |
| 972 | } |
| 973 | |
| 974 | // EncodeJSONEmptyObject returns a byte array b with a byte to signify an empty JSON object. |
| 975 | func EncodeJSONEmptyObject(b []byte) []byte { |
no outgoing calls
no test coverage detected
searching dependent graphs…