Delete deletes a value from json for the specified path.
(json, path string)
| 484 | |
| 485 | // Delete deletes a value from json for the specified path. |
| 486 | func Delete(json, path string) (string, error) { |
| 487 | return Set(json, path, dtype{}) |
| 488 | } |
| 489 | |
| 490 | // DeleteBytes deletes a value from json for the specified path. |
| 491 | func DeleteBytes(json []byte, path string) ([]byte, error) { |
searching dependent graphs…