SetRaw sets a raw json value for the specified path. This function works the same as Set except that the value is set as a raw block of json. This allows for setting premarshalled json objects.
(json, path, value string)
| 455 | // This function works the same as Set except that the value is set as a |
| 456 | // raw block of json. This allows for setting premarshalled json objects. |
| 457 | func SetRaw(json, path, value string) (string, error) { |
| 458 | return SetRawOptions(json, path, value, nil) |
| 459 | } |
| 460 | |
| 461 | // SetRawOptions sets a raw json value for the specified path with options. |
| 462 | // This furnction works the same as SetOptions except that the value is set |
searching dependent graphs…